You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/dev-python/tempita/files/tempita-0.5.3-pypy-tests.patch

27 lines
933 B

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::