diff --git a/tests/flask_tests.py b/tests/flask_tests.py index 762b3913..14e3e384 100644 --- a/tests/flask_tests.py +++ b/tests/flask_tests.py @@ -614,7 +614,8 @@ class LoggingTestCase(unittest.TestCase): with catch_stderr() as err: rv = c.get('/') out = err.getvalue() - assert 'WARNING in flask_tests, flask_tests.py' in out + assert 'WARNING in flask_tests,' in out + assert 'flask_tests.py' in out assert 'the standard library is dead' in out with catch_stderr() as err: