-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Cannot use @mark and multiple @patch class decorators #473
Comments
Original comment by Ronny Pfannschmidt (BitBucket: RonnyPfannschmidt, GitHub: RonnyPfannschmidt): Merged in hpk42/pytest-hpk/issue473 (pull request #152) fix issue473: work around mock putting an unbound method into a class |
1 similar comment
Original comment by Ronny Pfannschmidt (BitBucket: RonnyPfannschmidt, GitHub: RonnyPfannschmidt): Merged in hpk42/pytest-hpk/issue473 (pull request #152) fix issue473: work around mock putting an unbound method into a class |
Original comment by Ronny Pfannschmidt (BitBucket: RonnyPfannschmidt, GitHub: RonnyPfannschmidt): fix issue473: work around mock putting an unbound method into a class |
Originally reported by: Dan Kinder (BitBucket: dankinder, GitHub: dankinder)
Forgive me if this isn't intended to work, but I imagine it should.
This small test works:
As well as this one:
But this one fails:
(On python 2.6.6, pytest 2.5.2, mock 1.0.1)
The failure:
If this should work and is a pytest problem (not the mock library or something else), let me know and I may be able to dive in and try to patch it up.
The text was updated successfully, but these errors were encountered: