[pypy-commit] pypy default: fix test_list_strategy

bdkearns noreply at buildbot.pypy.org
Wed Mar 5 01:02:09 CET 2014


Author: Brian Kearns <bdkearns at gmail.com>
Branch: 
Changeset: r69694:a49d087de008
Date: 2014-03-04 19:01 -0500
http://bitbucket.org/pypy/pypy/changeset/a49d087de008/

Log:	fix test_list_strategy

diff --git a/pypy/module/__pypy__/test/test_special.py b/pypy/module/__pypy__/test/test_special.py
--- a/pypy/module/__pypy__/test/test_special.py
+++ b/pypy/module/__pypy__/test/test_special.py
@@ -57,6 +57,8 @@
         l = [1.1, 2.2, 3.3]
         assert list_strategy(l) == "float"
         l = range(3)
+        assert list_strategy(l) == "simple_range"
+        l = range(1, 2)
         assert list_strategy(l) == "range"
         l = [1, "b", 3]
         assert list_strategy(l) == "object"


More information about the pypy-commit mailing list