diff options
author | 2018-10-30 23:33:54 +0100 | |
---|---|---|
committer | 2018-10-30 23:34:15 +0100 | |
commit | b7eee4ad1f05ffa5801888e7c4e897b5654e8129 (patch) | |
tree | 5571b78c130ca55ddcc13572d21c01a16fb7773d /dev-python/tempita | |
parent | dev-python/tempita: add PyPy3, Python 3.7, doc and tests (diff) | |
download | gentoo-b7eee4ad1f05ffa5801888e7c4e897b5654e8129.tar.gz gentoo-b7eee4ad1f05ffa5801888e7c4e897b5654e8129.tar.bz2 gentoo-b7eee4ad1f05ffa5801888e7c4e897b5654e8129.zip |
dev-python/tempita: add missing patch
Signed-off-by: Louis Sautier <sbraz@gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11
Diffstat (limited to 'dev-python/tempita')
-rw-r--r-- | dev-python/tempita/files/tempita-0.5.3-pypy-tests.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/dev-python/tempita/files/tempita-0.5.3-pypy-tests.patch b/dev-python/tempita/files/tempita-0.5.3-pypy-tests.patch new file mode 100644 index 000000000000..cdef27276be5 --- /dev/null +++ b/dev-python/tempita/files/tempita-0.5.3-pypy-tests.patch @@ -0,0 +1,26 @@ +diff --git a/docs/index.txt b/docs/index.txt +index 6d943f6..afe3aa2 100644 +--- a/docs/index.txt ++++ b/docs/index.txt +@@ -82,7 +82,7 @@ error (the name will be displayed):: + >>> tmpl.substitute() + Traceback (most recent call last): + ... +- NameError: name 'name' is not defined at line 1 column 6 in file tmpl ++ NameError:... name 'name' is not defined at line 1 column 6 in file tmpl + + You can also give a namespace to use by default, which + ``.substitute(...)`` will augment:: +diff --git a/tests/test_template.txt b/tests/test_template.txt +index 9564a9a..d9eb55d 100644 +--- a/tests/test_template.txt ++++ b/tests/test_template.txt +@@ -144,7 +144,7 @@ for a variable, if no value is given:: + >>> sub('{{x}}') + Traceback (most recent call last): + ... +- NameError: name 'x' is not defined at line 1 column 3 ++ NameError:... name 'x' is not defined at line 1 column 3 + + And comments work:: + |