Skip to content

Commit 9f38109

Browse files
committed
Match passing test with warnings
"1 passed, 1 warning" wasn't matched before when there was a deprecation warning. Newer Django versions warn about the removal of `django.conf.urls.url` in favor of `django.urls.re_path` but Django 1.11 is also tested against and doesn't support `re_path` yet.
1 parent ca2c216 commit 9f38109

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_fixtures.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -616,7 +616,7 @@ class Migration(migrations.Migration):
616616
)
617617

618618
result = django_testdir.runpytest_subprocess("-s")
619-
result.stdout.fnmatch_lines(["* 1 passed in*"])
619+
result.stdout.fnmatch_lines(["* 1 passed*"])
620620
assert result.ret == 0
621621

622622

0 commit comments

Comments
 (0)