[pypy-commit] pypy py3k: kill tests about mixed sequences, they are unordeable now

antocuni noreply at buildbot.pypy.org
Fri Mar 2 10:35:50 CET 2012


Author: Antonio Cuni <anto.cuni at gmail.com>
Branch: py3k
Changeset: r53090:a4c2a1793449
Date: 2012-03-02 10:27 +0100
http://bitbucket.org/pypy/pypy/changeset/a4c2a1793449/

Log:	kill tests about mixed sequences, they are unordeable now

diff --git a/pypy/module/__builtin__/test/test_minmax.py b/pypy/module/__builtin__/test/test_minmax.py
--- a/pypy/module/__builtin__/test/test_minmax.py
+++ b/pypy/module/__builtin__/test/test_minmax.py
@@ -17,9 +17,6 @@
    def test_min_strings(self):
       assert min('aaa', 'bbb', 'c') == 'aaa'
 
-   def test_min_mixed(self):
-      assert min('1', 2, 3, 'aa') == 2
-
    def test_min_noargs(self):
       raises(TypeError, min)
 
@@ -43,9 +40,6 @@
    def test_max_strings(self):
       assert max('aaa', 'bbb', 'c') == 'c'
 
-   def test_max_mixed(self):
-      assert max('1', 2, 3, 'aa') == 'aa'
-
    def test_max_noargs(self):
       raises(TypeError, max)
 
@@ -66,9 +60,6 @@
    def test_max_strings(self):
       assert max(('aaa', 'bbb', 'c')) == 'c'
 
-   def test_max_mixed(self):
-      assert max(('1', 2, 3, 'aa')) == 'aa'
-
 class AppTestMinList:
 
    def test_min_usual(self):
@@ -82,6 +73,3 @@
 
    def test_min_strings(self):
       assert min(['aaa', 'bbb', 'c']) == 'aaa'
-
-   def test_min_mixed(self):
-      assert min(['1', 2, 3, 'aa']) == 2


More information about the pypy-commit mailing list