Author: Philip Jenvey <[email protected]>
Branch: py3k
Changeset: r53827:2fbeb9105503
Date: 2012-03-19 18:22 -0700
http://bitbucket.org/pypy/pypy/changeset/2fbeb9105503/

Log:    minor py3 compat fixes

diff --git a/pypy/module/micronumpy/test/test_dtypes.py 
b/pypy/module/micronumpy/test/test_dtypes.py
--- a/pypy/module/micronumpy/test/test_dtypes.py
+++ b/pypy/module/micronumpy/test/test_dtypes.py
@@ -32,7 +32,6 @@
 
         assert dtype(bool).num == 0
         assert dtype(int).num == 7
-        assert dtype(int).num == 9
         assert dtype(float).num == 12
 
     def test_array_dtype_attr(self):
@@ -481,8 +480,8 @@
     def test_str_unicode(self):
         from _numpypy import str_, unicode_, character, flexible, generic
         
-        assert str_.mro() == [str_, str, str, character, flexible, generic, 
object]
-        assert unicode_.mro() == [unicode_, str, str, character, flexible, 
generic, object]
+        assert str_.mro() == [str_, str, character, flexible, generic, object]
+        assert unicode_.mro() == [unicode_, str, character, flexible, generic, 
object]
 
     def test_str_dtype(self):
         from _numpypy import dtype, str_
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to