[pypy-commit] pypy default: move test to untranslated
mattip
noreply at buildbot.pypy.org
Tue Jul 8 05:53:43 CEST 2014
Author: mattip <matti.picus at gmail.com>
Branch:
Changeset: r72382:30e15663c576
Date: 2014-07-08 13:46 +1000
http://bitbucket.org/pypy/pypy/changeset/30e15663c576/
Log: move test to untranslated
diff --git a/pypy/module/micronumpy/test/test_scalar.py b/pypy/module/micronumpy/test/test_scalar.py
--- a/pypy/module/micronumpy/test/test_scalar.py
+++ b/pypy/module/micronumpy/test/test_scalar.py
@@ -290,3 +290,13 @@
assert np.isnan(b/a)
b = t(0.)
assert np.isnan(b/a)
+
+ def test_scalar_iter(self):
+ from numpypy import int8, int16, int32, int64, float32, float64
+ for t in int8, int16, int32, int64, float32, float64:
+ try:
+ iter(t(17))
+ except TypeError:
+ pass
+ else:
+ assert False, "%s object should not be iterable." % t
diff --git a/pypy/module/test_lib_pypy/numpypy/core/test_numeric.py b/pypy/module/test_lib_pypy/numpypy/core/test_numeric.py
--- a/pypy/module/test_lib_pypy/numpypy/core/test_numeric.py
+++ b/pypy/module/test_lib_pypy/numpypy/core/test_numeric.py
@@ -248,13 +248,3 @@
assert d.shape == (3, 3)
assert d.dtype == dtype('int32')
assert (d == [[1, 0, 0], [0, 1, 0], [0, 0, 1]]).all()
-
- def test_scalar_iter(self):
- from numpypy import int8, int16, int32, int64, float32, float64
- for t in int8, int16, int32, int64, float32, float64:
- try:
- iter(t(17))
- except TypeError:
- pass
- else:
- assert False, "%s object should not be iterable." % t
More information about the pypy-commit
mailing list