-
Notifications
You must be signed in to change notification settings - Fork 24
Fix support for pytest 4.1 #45
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
Conversation
🎉 |
I'm testing with
|
I confirmed it's broken now. I'm not really a fan of putting this stuff into the
But it is also broken before this PR and with
For that matter, I haven't found a version pair yet where that test passes. @ktdreyer, what's your (I did also try with |
Unfortunately I just blew away my virtualenv where this reproduces :( I can just switch my projects over to using |
Upstream is working on a fix[0], but until then this will let CI pass. [0] pytest-dev/pytest-twisted#45 Signed-off-by: Jeremy Cline <[email protected]>
@altendky
@ktdreyer any chance of at least posting the traceback you are getting? I'm curious, it should work for the normal cases where the decorator is being used for test functions. |
sure, here's a job in TravisCI where this failed, before I swiched everything over to TravisCI might garbage-collect the log so I'll paste the relevant part here. This is with the latest pytest from PyPI (4.1.0), and pytest-twisted's master branch.
|
@ktdreyer thanks! I will try to execute your project tomorrow to see what's going on. 👍 |
Oh my #51! That explains it! 😅 |
Also stop using the deprecated
pytest.config
globalFix #44