Skip to content

Commit 8e4fb1e

Browse files
author
Sylvain MARIE
committed
Fixed travis build
1 parent 2d14860 commit 8e4fb1e

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

pytest_cases/tests/pytest_extension/issues/test_issue_177.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,8 @@ def test_stuff_multi(letters, order, no_auto, no_auto2, explicit_auto, explicit_
5151
assert letters.upper() == letters.lower().upper()
5252

5353

54-
def test_synthesis(module_results_dct):
54+
def test_synthesis(module_results_dct):
55+
if has_pytest_param:
5556
assert list(module_results_dct) == [
5657
'test_stuff[a-b-True-a]',
5758
'test_stuff[a-b-False-a]',
@@ -62,3 +63,5 @@ def test_synthesis(module_results_dct):
6263
'test_stuff_multi[c-b-no-a-yes]',
6364
'test_stuff_multi[ho-b-no-a-yes]'
6465
]
66+
else:
67+
assert list(module_results_dct) == []

0 commit comments

Comments
 (0)