summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorFlorian Bruhin <me@the-compiler.org>2021-01-19 13:12:03 +0100
committerFlorian Bruhin <me@the-compiler.org>2021-01-19 13:12:03 +0100
commitd45b68a98dcd169b23087becacacea9790097849 (patch)
treea9b749d4fdd14598695e488f27e579632a46b99c /tests
parent156de37c8a7940d5dd1ae04e861b6aae21ee1b7d (diff)
downloadqutebrowser-d45b68a98dcd169b23087becacacea9790097849.tar.gz
qutebrowser-d45b68a98dcd169b23087becacacea9790097849.zip
tests: Adjust workaround for windows
Diffstat (limited to 'tests')
-rw-r--r--tests/unit/scripts/test_run_vulture.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unit/scripts/test_run_vulture.py b/tests/unit/scripts/test_run_vulture.py
index aafd5ea29..cc17f5c12 100644
--- a/tests/unit/scripts/test_run_vulture.py
+++ b/tests/unit/scripts/test_run_vulture.py
@@ -83,7 +83,7 @@ def test_unused_func(vultdir):
def foo():
pass
""")
- msg = "*/foo.py:2: unused function 'foo' (60% confidence)"
+ msg = "*test_unused_func*foo.py:2: unused function 'foo' (60% confidence)"
msgs = vultdir.run()
assert len(msgs) == 1
assert utils.pattern_match(pattern=msg, value=msgs[0])