summaryrefslogtreecommitdiff
path: root/tests/test_intl.py
diff options
context:
space:
mode:
authorshimizukawa <shimizukawa@gmail.com>2017-01-05 23:43:16 +0900
committershimizukawa <shimizukawa@gmail.com>2017-01-05 23:43:16 +0900
commit380dd23d9f1a1263a92076e2c2daa97663fa6d5c (patch)
tree5572c4f82b0baa39f38d07f4ee39db15431f487f /tests/test_intl.py
parentad6d731ecf780457bd3d6d2cf59832c083d63bfc (diff)
downloadsphinx-git-380dd23d9f1a1263a92076e2c2daa97663fa6d5c.tar.gz
pytest: remove repr_as testing feature that avoids long annoying log for test generator feature on nose. In contrast, pytest does not produce such output. So repr_as is not needed anymore. refs #1785
Diffstat (limited to 'tests/test_intl.py')
-rw-r--r--tests/test_intl.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_intl.py b/tests/test_intl.py
index f92f44cf4..9fe5a21eb 100644
--- a/tests/test_intl.py
+++ b/tests/test_intl.py
@@ -22,7 +22,7 @@ from six import string_types
from util import tempdir, rootdir, path, gen_with_app, with_app, SkipTest, \
assert_re_search, assert_not_re_search, assert_in, assert_not_in, \
- assert_startswith, assert_node, repr_as, etree_parse, assert_equal
+ assert_startswith, assert_node, etree_parse, assert_equal
root = tempdir / 'test-intl'
@@ -930,4 +930,4 @@ def test_image_glob_intl_using_figure_language_filename(app, status, warning):
def getwarning(warnings):
- return repr_as(warnings.getvalue().replace(os.sep, '/'), '<warnings>')
+ return warnings.getvalue().replace(os.sep, '/')