Zac-HD / hypofuzz

Adaptive fuzzing of Hypothesis tests
https://hypofuzz.com/docs
GNU Affero General Public License v3.0
82 stars 3 forks source link

Shrinker missing positional argument #21

Closed tmr232 closed 1 year ago

tmr232 commented 1 year ago

I tried running hypofuzz, and this is the error I'm getting:

Traceback (most recent call last):
  File "C:\Users\tamir\AppData\Local\Programs\Python\Python311\Lib\multiprocessing\process.py", line 314, in _bootstrap
    self.run()
  File "C:\Users\tamir\AppData\Local\Programs\Python\Python311\Lib\multiprocessing\process.py", line 108, in run
    self._target(*self._args, **self._kwargs)
  File "C:\Code\crafting-interpreters-py\.venv\Lib\site-packages\hypofuzz\interface.py", line 91, in _fuzz_several
    fuzz_several(*tests)
  File "C:\Code\crafting-interpreters-py\.venv\Lib\site-packages\hypofuzz\hy.py", line 378, in fuzz_several
    t.run_one()
  File "C:\Code\crafting-interpreters-py\.venv\Lib\site-packages\hypofuzz\hy.py", line 203, in run_one
    shrinker = Shrinker(
               ^^^^^^^^^
TypeError: Shrinker.__init__() missing 1 required positional argument: 'explain'

I'm running:

Zac-HD commented 1 year ago

Gah, yeah, recent changes to Hypothesis have broken this - aiming to get a fix out this weekend.

Zac-HD commented 1 year ago

Fixed in HypoFuzz version 23.05.1 - thanks again for the report ❤️