summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/test_template.txt4
-rw-r--r--tox.ini2
2 files changed, 3 insertions, 3 deletions
diff --git a/tests/test_template.txt b/tests/test_template.txt
index f3466f2..1313d34 100644
--- a/tests/test_template.txt
+++ b/tests/test_template.txt
@@ -6,7 +6,7 @@ example::
'Hi Ian'
>>> Template('Hi {{repr(name)}}').substitute(name='Ian')
"Hi 'Ian'"
- >>> Template('Hi {{name+1}}').substitute(name='Ian')
+ >>> Template('Hi {{name+1}}').substitute(name='Ian') # doctest: +IGNORE_EXCEPTION_DETAIL
Traceback (most recent call last):
...
TypeError: cannot concatenate 'str' and 'int' objects at line 1 column 6
@@ -125,7 +125,7 @@ for a variable, if no value is given::
>>> sub('{{default x=1}}{{x}}')
'1'
>>> # The normal case:
- >>> sub('{{x}}')
+ >>> sub('{{x}}') # doctest: +IGNORE_EXCEPTION_DETAIL
Traceback (most recent call last):
...
NameError: name 'x' is not defined at line 1 column 3
diff --git a/tox.ini b/tox.ini
index d50d433..b54d5ec 100644
--- a/tox.ini
+++ b/tox.ini
@@ -1,5 +1,5 @@
[tox]
-envlist = py26, py27, py34, py35
+envlist = py26, py27, py34, py35, pypy
[testenv]
deps=