diff --git a/tests/test_manage_py_scan.py b/tests/test_manage_py_scan.py index 3954458..f6bb07e 100644 --- a/tests/test_manage_py_scan.py +++ b/tests/test_manage_py_scan.py @@ -118,7 +118,7 @@ def test_django_project_found_invalid_settings_version(django_testdir, monkeypat result = django_testdir.runpytest_subprocess("django_project_root", "--version", "--version") assert result.ret == 0 - result.stderr.fnmatch_lines(["*This is pytest version*"]) + result.stdout.fnmatch_lines(["*This is pytest version*"]) result = django_testdir.runpytest_subprocess("django_project_root", "--help") assert result.ret == 0