-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix unstubbing of __new__ #6
Comments
Are you finding that this is still an issue, because I'm seeing something similar. I use |
Are you using |
Yeah, I was using |
@ajferrick This commit 1a3d80c may have what you need, as a staticmethod looks identical to an unbound method in Python3. That may not work specifically with Sorry for the late response, open source dropped off my radar as we had a very busy end of year. |
This seems to be working. In writing tests for https://github.com/agoragames/torus , it seems that an expectation on the
Timeseries
type was not cleaned up properly, and resulted in the following error for a test that didn't try to mock out that constructor.The text was updated successfully, but these errors were encountered: