summaryrefslogtreecommitdiff
path: root/Lib/test/test_genexps.py
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2008-05-15 15:08:32 +0000
committerGeorg Brandl <georg@python.org>2008-05-15 15:08:32 +0000
commitc91210c06b6ba5126879b34692ef6291252f68ad (patch)
tree1eaec7063d23eede19190ce6fa1bb3cce9fd9677 /Lib/test/test_genexps.py
parentb346513044e265accd338c136d5b4bbbe88a8979 (diff)
downloadcpython-git-c91210c06b6ba5126879b34692ef6291252f68ad.tar.gz
#2863: add gen.__name__ and add this name to generator repr().
Diffstat (limited to 'Lib/test/test_genexps.py')
-rw-r--r--Lib/test/test_genexps.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_genexps.py b/Lib/test/test_genexps.py
index 2598a7913a..0317955ab1 100644
--- a/Lib/test/test_genexps.py
+++ b/Lib/test/test_genexps.py
@@ -92,7 +92,7 @@ Verify that parenthesis are required when used as a keyword argument value
Verify that parenthesis are required when used as a keyword argument value
>>> dict(a = (i for i in xrange(10))) #doctest: +ELLIPSIS
- {'a': <generator object at ...>}
+ {'a': <<genexp> generator object at ...>}
Verify early binding for the outermost for-expression