You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On Python 2.7 getargspec() fails on default __init__ method. This in turn triggers bug #1655. The required_args() function can use target.__init__ is object.__init__ to detect this case.
Test for checking correct result is provided in https://github.com/ccxcz/hypothesis/tree/check-default-init
The text was updated successfully, but these errors were encountered:
Another way this breaks is on old-style classes that don't have to have init attribute at all. Checking with hasattr(target, '__init__') would work in that case.
On Python 2.7
getargspec()fails on default__init__method. This in turn triggers bug #1655. Therequired_args()function can usetarget.__init__ is object.__init__to detect this case.Test for checking correct result is provided in https://github.com/ccxcz/hypothesis/tree/check-default-init
The text was updated successfully, but these errors were encountered: