Closed vwxyzjn closed 1 year ago
Thanks for the report. Yes, indeed the line
hypotheses: Iterable[Hypothesis] = None,
is a not typing.
This is no longer a problem in the master branch as have been fixed since 1166a49f8c18fd7a56cab25f76ead00b3d39b10f, but I will backport the fix because people would want a stable version that works.
A workaround would be specifying the argument explicitly: Experiment(name, hypotheses=())
This is actually a typeguard
issue rather than python 3.10. I've released v0.4.2 which contains a backport patch.
seems to break in python 3.10.