Fix parametrized fixtures reordering.

This commit is contained in:
turturica 2018-04-25 18:44:54 -07:00
parent d483b401ee
commit 229c8e551d
1 changed files with 1 additions and 1 deletions

View File

@ -172,7 +172,7 @@ def get_parametrized_fixture_keys(item, scopenum):
if scopenum == 0: # session
key = (argname, param_index)
elif scopenum == 1: # package
key = (argname, param_index, item.fspath)
key = (argname, param_index, item.fspath.dirpath())
elif scopenum == 2: # module
key = (argname, param_index, item.fspath)
elif scopenum == 3: # class