summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_genexps.py
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2016-07-14 04:13:29 (GMT)
committerBenjamin Peterson <benjamin@python.org>2016-07-14 04:13:29 (GMT)
commitab078e9ed1a5d1b693d6ee843f1a34e8993e9dee (patch)
tree55e6e21b81315f126e76357af7e545cfe498d778 /Lib/test/test_genexps.py
parentfb4f8257bfa4471764e10c1d8525a5bb7b0145e5 (diff)
downloadcpython-ab078e9ed1a5d1b693d6ee843f1a34e8993e9dee.zip
cpython-ab078e9ed1a5d1b693d6ee843f1a34e8993e9dee.tar.gz
cpython-ab078e9ed1a5d1b693d6ee843f1a34e8993e9dee.tar.bz2
Backed out changeset af29d89083b3 (closes #25548) (closes #27498)
Diffstat (limited to 'Lib/test/test_genexps.py')
-rw-r--r--Lib/test/test_genexps.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/Lib/test/test_genexps.py b/Lib/test/test_genexps.py
index c5e10dd..fb531d6 100644
--- a/Lib/test/test_genexps.py
+++ b/Lib/test/test_genexps.py
@@ -27,7 +27,7 @@ Test first class
>>> g = (i*i for i in range(4))
>>> type(g)
- <class 'generator' ...>
+ <class 'generator'>
>>> list(g)
[0, 1, 4, 9]
@@ -269,8 +269,7 @@ else:
def test_main(verbose=None):
from test import support
from test import test_genexps
- import doctest
- support.run_doctest(test_genexps, verbose, optionflags=doctest.ELLIPSIS)
+ support.run_doctest(test_genexps, verbose)
# verify reference counting
if verbose and hasattr(sys, "gettotalrefcount"):