Author: Brian Kearns <[email protected]>
Branch: 
Changeset: r67674:e0f88f35c8e3
Date: 2013-10-29 01:09 -0400
http://bitbucket.org/pypy/pypy/changeset/e0f88f35c8e3/

Log:    random cleanups

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
@@ -680,8 +680,8 @@
         # strange
         assert dtype('string').str == '|S0'
         assert dtype('unicode').str == byteorder + 'U0'
-        # assert dtype(('string', 7)).str == '|S7'
-        # assert dtype(('unicode', 7)).str == '<U7'
+        assert dtype(('string', 7)).str == '|S7'
+        assert dtype(('unicode', 7)).str == '<U7'
 
     def test_intp(self):
         from numpypy import dtype
diff --git a/pypy/module/micronumpy/test/test_numarray.py 
b/pypy/module/micronumpy/test/test_numarray.py
--- a/pypy/module/micronumpy/test/test_numarray.py
+++ b/pypy/module/micronumpy/test/test_numarray.py
@@ -1648,8 +1648,6 @@
                                             dtype=[('x', int), ('y', float)])))
         assert str(exc.value).startswith('invalid type promotion')
 
-
-
     def test_std(self):
         from numpypy import array
         a = array(range(10))
@@ -1966,9 +1964,7 @@
         b = np.array([True])
 
         assert (a[b] == a).all()
-
         a[b] = 1.
-
         assert (a == [[1., 1., 1.]]).all()
 
     @py.test.mark.xfail
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to