-
-
Notifications
You must be signed in to change notification settings - Fork 147
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
Test failures in test_assert_called_args_with_introspection #102
Comments
Hi @ghisvail, Those tests expect pytest's assertion rewrite to be enabled to work, and indeed I can reproduce the problem if I execute the tests with Pytest assertion rewrite is enabled by default, can you check your command-line or Either way I think the proper solution is to skip those tests when executed with |
The tests which require assertion rewrite are now skipped with |
Still not working, unfortunately. |
Works if I call |
Yes, after some more investigation I believe the reason is explained in #102 (comment). |
@ghisvail should we close this? As I said, I believe the reason might be related to how Debian packages the modules (#102 (comment)). |
Whilst attempting to integrate
pytest-mock
to the Debian CI infrastructure, I encountered the following issue when running the tests against the installed version from the Debian package:The plugin seems to be correctly registered:
The same thing happens for both Python 2 and Python 3.
The text was updated successfully, but these errors were encountered: