summaryrefslogtreecommitdiff
path: root/testing/test_doctest.py
diff options
context:
space:
mode:
authorholger krekel <holger@merlinux.eu>2011-05-29 09:21:48 +0200
committerholger krekel <holger@merlinux.eu>2011-05-29 09:21:48 +0200
commit8bc9fdc8d37fee7d2360cc89db7bf10db9914859 (patch)
treef9c03dc7eaf8966e5e959fa3fdee066bcadf8170 /testing/test_doctest.py
parent5e311d3bfc6b02465fd5ef097bcde28f5c6ce310 (diff)
downloadpytest-8bc9fdc8d37fee7d2360cc89db7bf10db9914859.tar.gz
fix a buffering issue that i think/hope only occurs during internal tests
Diffstat (limited to 'testing/test_doctest.py')
-rw-r--r--testing/test_doctest.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/testing/test_doctest.py b/testing/test_doctest.py
index 67dc7fdbf..771cb52f3 100644
--- a/testing/test_doctest.py
+++ b/testing/test_doctest.py
@@ -114,7 +114,7 @@ class TestDoctests:
>>> i + 1
2
""")
- result = testdir.runpytest(p)
+ result = testdir.runpytest(p, "-s")
result.stdout.fnmatch_lines([
'001 >>> i = 0',
'002 >>> i + 1',