Skip to content

Commit e08e9a2

Browse files
committed
Use pytest <2.8 assertion to check for outcome
1 parent bb10133 commit e08e9a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_django_settings_module.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ def test_anything():
124124
""")
125125

126126
r = testdir.runpytest_subprocess()
127-
r.assert_outcomes(passed=1)
127+
assert r.parseoutcomes()['passed'] == 1
128128
assert r.ret == 0
129129

130130

0 commit comments

Comments
 (0)