Read about our upcoming Code of Conduct on this issue

Commit c5cc1f3c authored by Brian Kearns's avatar Brian Kearns
Browse files

fix tests on 32bit

parent 0462e4a83ff1
......@@ -207,7 +207,7 @@ class AppTestNumSupport(BaseNumpyAppTest):
exc = raises(TypeError, np.result_type, a=2)
assert str(exc.value) == "result_type() takes no keyword arguments"
assert np.result_type(True) is np.dtype('bool')
assert np.result_type(1) is np.dtype('int64')
assert np.result_type(1) is np.dtype('int')
assert np.result_type(1.) is np.dtype('float64')
assert np.result_type(1+2j) is np.dtype('complex128')
assert np.result_type(1, 1.) is np.dtype('float64')
......
......@@ -101,8 +101,8 @@ class TestMicroNumPy(BaseTestPyPyC):
f149 = raw_load(i100, i129, descr=<ArrayF 8>)
p150 = getfield_gc_pure(p123, descr=<FieldP pypy.module.micronumpy.iterators.IterState.inst_indices .+>)
i151 = int_add(i117, 1)
setarrayitem_gc(p150, 1, 0, descr=<ArrayS 8>)
setarrayitem_gc(p150, 0, 0, descr=<ArrayS 8>)
setarrayitem_gc(p150, 1, 0, descr=<ArrayS .+>)
setarrayitem_gc(p150, 0, 0, descr=<ArrayS .+>)
guard_not_invalidated(descr=...)
i154 = getfield_raw(ticker_address, descr=<FieldS pypysig_long_struct.c_value 0>)
i155 = int_lt(i154, 0)
......@@ -143,8 +143,8 @@ class TestMicroNumPy(BaseTestPyPyC):
p152 = getfield_gc_pure(p126, descr=<FieldP pypy.module.micronumpy.iterators.IterState.inst_indices .+>)
i153 = int_add(i120, 1)
i154 = getfield_raw(ticker_address, descr=<FieldS pypysig_long_struct.c_value 0>)
setarrayitem_gc(p152, 1, 0, descr=<ArrayS 8>)
setarrayitem_gc(p152, 0, 0, descr=<ArrayS 8>)
setarrayitem_gc(p152, 1, 0, descr=<ArrayS .+>)
setarrayitem_gc(p152, 0, 0, descr=<ArrayS .+>)
i157 = int_lt(i154, 0)
guard_false(i157, descr=...)
p158 = new_with_vtable(...)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment