diff options
author | Marc Abramowitz <marc@marc-abramowitz.com> | 2016-03-07 14:33:22 -0800 |
---|---|---|
committer | Marc Abramowitz <marc@marc-abramowitz.com> | 2016-03-07 14:33:22 -0800 |
commit | de5f0667c4472a04298ba1890dbfa4739f5e4079 (patch) | |
tree | 84ff6296a87aac665efb2e72f769c633f90f2a89 /tests/test_template.txt | |
parent | 2adac043f1f815d38792fca7045a6b5f294394fd (diff) | |
download | paste-git-tox_add_pypy.tar.gz |
Enable testing with pypytox_add_pypy
This involved:
- Adding "pypy" to the `tox.ini` envlist.
- Adding `# doctest: +IGNORE_EXCEPTION_DETAIL` to 2 doctests, because the
traceback message text is slightly different on PyPy.
Diffstat (limited to 'tests/test_template.txt')
-rw-r--r-- | tests/test_template.txt | 4 |
1 files changed, 2 insertions, 2 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 |