[pypy-svn] r67662 - pypy/trunk/pypy/module/__builtin__/test
benjamin at codespeak.net
benjamin at codespeak.net
Sat Sep 12 20:40:34 CEST 2009
Author: benjamin
Date: Sat Sep 12 20:40:34 2009
New Revision: 67662
Modified:
pypy/trunk/pypy/module/__builtin__/test/test_minmax.py
Log:
two tests that work
Modified: pypy/trunk/pypy/module/__builtin__/test/test_minmax.py
==============================================================================
--- pypy/trunk/pypy/module/__builtin__/test/test_minmax.py (original)
+++ pypy/trunk/pypy/module/__builtin__/test/test_minmax.py Sat Sep 12 20:40:34 2009
@@ -21,10 +21,9 @@
def test_min_strings(self):
assert min('aaa', 'bbb', 'c') == 'aaa'
- # write an imaginary test when we have complex numbers
-
- # XXX we have no mixed comparison operator yet on StdObjSpace
- def _test_min_mixed(self):
+ # write an imaginary test when we have complex numbers
+
+ def test_min_mixed(self):
assert min('1', 2, 3, 'aa') == 2
def test_min_noargs(self):
@@ -55,9 +54,8 @@
assert max('aaa', 'bbb', 'c') == 'c'
# write an imaginary test when we have complex numbers
-
- # XXX we have no mixed comparison operator yet on StdObjSpace
- def _test_max_mixed(self):
+
+ def test_max_mixed(self):
assert max('1', 2, 3, 'aa') == 'aa'
def test_max_noargs(self):
More information about the Pypy-commit
mailing list