Skip to content

Commit af50566

Browse files
author
Sylvain MARIE
committed
1.9.2 Fixed #48 for good now
1 parent 9d442e8 commit af50566

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

docs/changelog.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
# Changelog
22

3-
### 1.9.1 - Bugfix
3+
### 1.9.2 - Bugfix with pytest 3.7
4+
5+
Fixed [#48](https://github.com/smarie/python-pytest-cases/issues/48).
6+
7+
### 1.9.1 - Bugfix with pytest 3.7
48

59
Fixed [#48](https://github.com/smarie/python-pytest-cases/issues/48).
610

pytest_cases/plugin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -535,7 +535,7 @@ def getfixtureclosure(fm, fixturenames, parentnode, ignore_args=()):
535535
# note as an alternative we could return a custom object in place of the ref_fixturenames
536536
# store_union_closure_in_node(fixturenames_closure_node, parentnode)
537537

538-
if LooseVersion(pytest.__version__) >= LooseVersion('3.10.0'):
538+
if LooseVersion(pytest.__version__) >= LooseVersion('3.7.0'):
539539
our_initial_names = sorted_fixturenames # initial_names
540540
return our_initial_names, fixturenames_closure_node, ref_arg2fixturedefs
541541
else:

0 commit comments

Comments
 (0)