summaryrefslogtreecommitdiff
path: root/dev-util/cookiecutter/files/cookiecutter-2.0.2-fix-path-in-test.patch
diff options
context:
space:
mode:
Diffstat (limited to 'dev-util/cookiecutter/files/cookiecutter-2.0.2-fix-path-in-test.patch')
-rw-r--r--dev-util/cookiecutter/files/cookiecutter-2.0.2-fix-path-in-test.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/dev-util/cookiecutter/files/cookiecutter-2.0.2-fix-path-in-test.patch b/dev-util/cookiecutter/files/cookiecutter-2.0.2-fix-path-in-test.patch
new file mode 100644
index 000000000000..569ca97e5e42
--- /dev/null
+++ b/dev-util/cookiecutter/files/cookiecutter-2.0.2-fix-path-in-test.patch
@@ -0,0 +1,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)