summaryrefslogtreecommitdiff
path: root/dev-util/cookiecutter/files/cookiecutter-2.0.2-fix-path-in-test.patch
blob: 569ca97e5e426fdc2b0e3a1b929c1dfbc28b6d09 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/tests/test_generate_file.py b/tests/test_generate_file.py
index 2ca30df..47e14ec 100644
--- a/tests/test_generate_file.py
+++ b/tests/test_generate_file.py
@@ -118,7 +118,7 @@ def expected_msg():
     """Fixture. Used to ensure that exception generated text contain full data."""
     msg = (
         'Missing end of comment tag\n'
-        '  File "./tests/files/syntax_error.txt", line 1\n'
+        '  File "tests/files/syntax_error.txt", line 1\n'
         '    I eat {{ syntax_error }} {# this comment is not closed}'
     )
     return msg.replace("/", os.sep)