You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
=================================== ERRORS ====================================
______________________ ERROR at setup of test_property_a ______________________
ScopeMismatch: You tried to access the 'function' scoped fixture 'tmpdir' with a 'session' scoped request object, involved factories
test_cached_tmpdir.py:23: def scenario(tmpdir, scenario_prototype)
test_cached_tmpdir.py:14: def scenario_prototype(tmpdir)
______________________ ERROR at setup of test_property_b ______________________
ScopeMismatch: You tried to access the 'function' scoped fixture 'tmpdir' with a 'session' scoped request object, involved factories
test_cached_tmpdir.py:23: def scenario(tmpdir, scenario_prototype)
test_cached_tmpdir.py:14: def scenario_prototype(tmpdir)
=========================== 2 error in 0.02 seconds ===========================
Originally reported by: Torsten Landschoff (BitBucket: bluehorn, GitHub: bluehorn)
Running the attached tests gives
as expected, but doing the same using tmpdir I get
Tested with pytest 2.6.4 and pytest 2.5.1. I would have expected both to behave identically.
The text was updated successfully, but these errors were encountered: