summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Ammerlaan <andrewammerlaan@gentoo.org>2022-04-23 20:42:34 +0200
committerAndrew Ammerlaan <andrewammerlaan@gentoo.org>2022-04-23 20:42:45 +0200
commitda0386a9938d27a1e5d87a13b0e617c494bca293 (patch)
treeac7dd95ee6c36c9e6302c174d973fe9652704723 /dev-util/cookiecutter/files
parentdev-libs/intel-metrics-library: amd64 stable (diff)
downloadgentoo-da0386a9938d27a1e5d87a13b0e617c494bca293.tar.gz
gentoo-da0386a9938d27a1e5d87a13b0e617c494bca293.tar.bz2
gentoo-da0386a9938d27a1e5d87a13b0e617c494bca293.zip
dev-util/cookiecutter: add 2.0.2
Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
Diffstat (limited to 'dev-util/cookiecutter/files')
-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)