-
-
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
parametrize overwrites marks instead of adding #1387
Comments
unfortunately that's a known bug, see #725 i'm sorry for your inconvenience, this one is one of those that are in very hard to properly fix without breaking other test-suites |
I don't know about your style and architecture agreements, but I've wrote fix for exactly this bug and it does not spoil any other test case (checked on py27 and py34). Look at this diff. https://github.com/pytest-dev/pytest/compare/master...werehuman:fix-parametrize-overwrite-keywords?expand=1 If you're like it, I'll write comments and submit a pull request. |
at first glace it looks like a solution, but there is a problem, we will come to a conclusion in a few days, sorry for your inconvenience |
Can you show me some places in code where marker transfer properly works now? |
that's the problem, they are not accessible in any way as of now |
I expect that all these test should pass.
But tests that have marks on parameters fails because
parametrize
owerrites marks instead of adding them:OS: Ubuntu 15.10
Affects Python 2.7 and Python 3.4
py.test 2.8.7 from PyPI
The text was updated successfully, but these errors were encountered: