[pypy-svn] pypy default: Add another passing test line.

arigo commits-noreply at bitbucket.org
Wed Jan 26 13:37:47 CET 2011


Author: Armin Rigo <arigo at tunes.org>
Branch: 
Changeset: r41342:274e012e7708
Date: 2011-01-26 13:37 +0100
http://bitbucket.org/pypy/pypy/changeset/274e012e7708/

Log:	Add another passing test line.

diff --git a/pypy/module/itertools/test/test_itertools.py b/pypy/module/itertools/test/test_itertools.py
--- a/pypy/module/itertools/test/test_itertools.py
+++ b/pypy/module/itertools/test/test_itertools.py
@@ -732,6 +732,7 @@
         prodlist = product(l, m)
         res = [(1, 'a'), (1, 'b'), (2, 'a'), (2, 'b')]
         assert list(prodlist) == res
+        assert list(product()) == [()]
         assert list(product([])) == []
         assert list(product(iter(l), iter(m))) == res
 


More information about the Pypy-commit mailing list