summaryrefslogtreecommitdiff
path: root/dev-util/cookiecutter/files/cookiecutter-2.0.2-fix-path-in-test.patch
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-05-12 16:42:50 +0300
committerV3n3RiX <venerix@koprulu.sector>2022-05-12 16:42:50 +0300
commit752d6256e5204b958b0ef7905675a940b5e9172f (patch)
tree330d16e6362a49cbed8875a777fe641a43376cd3 /dev-util/cookiecutter/files/cookiecutter-2.0.2-fix-path-in-test.patch
parent0c100b7dd2b30e75b799d806df4ef899fd98e1ea (diff)
gentoo resync : 12.05.2022
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)