test_array remove for successed test
@@ -1392,8 +1392,6 @@ class FPTest(NumberTest):
def assertEntryEqual(self, entry1, entry2):
self.assertAlmostEqual(entry1, entry2)
- # TODO: RUSTPYTHON
- @unittest.expectedFailure
def test_nan(self):
a = array.array(self.typecode, [float('nan')])
b = array.array(self.typecode, [float('nan')])
@@ -1404,8 +1402,6 @@ class FPTest(NumberTest):
self.assertIs(a < b, False)
self.assertIs(a <= b, False)
- # TODO: RUSTPYTHON
- @unittest.expectedFailure
def test_byteswap(self):
a = array.array(self.typecode, self.example)
self.assertRaises(TypeError, a.byteswap, 42)
@@ -1422,16 +1418,15 @@ class FPTest(NumberTest):
b.byteswap()
self.assertEqual(a, b)
-@unittest.skip("TODO: RUSTPYTHON")
class FloatTest(FPTest, unittest.TestCase):
typecode = 'f'
minitemsize = 4
-@unittest.skip("TODO: RUSTPYTHON")
class DoubleTest(FPTest, unittest.TestCase):
typecode = 'd'
minitemsize = 8
+ @unittest.skip("TODO: RUSTPYTHON")
def test_alloc_overflow(self):
from sys import maxsize
a = array.array('d', [-1]*65536)
@@ -1450,7 +1445,6 @@ class DoubleTest(FPTest, unittest.TestCase):
self.fail("Array of size > maxsize created - MemoryError expected")
-@unittest.skip("TODO: RUSTPYTHON")
class LargeArrayTest(unittest.TestCase):
typecode = 'b'
