@@ -34,32 +34,28 @@ def gen_array_3d(dtype):
3434
3535def test_0d ():
3636 """Test loading and equality of a 0D float32 array."""
37- np .testing .assert_array_equal (np .load ("float_0d.npy" ), gen_array_0d (np .float32 ), strict = True )
37+ np .testing .assert_array_equal (np .load ("float_0d.npy" ), gen_array_0d (np .float32 ))
3838
3939
4040def test_1d ():
4141 """Test loading and equality of a 1D float64 array."""
42- np .testing .assert_array_equal (np .load ("double_1d.npy" ), gen_array_1d (np .float64 ), strict = True )
42+ np .testing .assert_array_equal (np .load ("double_1d.npy" ), gen_array_1d (np .float64 ))
4343
4444
4545def test_3d ():
4646 """Test loading and equality of multiple 3D arrays across dtypes."""
47- np .testing .assert_array_equal (np .load ("int8_3d.npy" ), gen_array_3d (np .int8 ), strict = True )
48- np .testing .assert_array_equal (np .load ("int16_3d.npy" ), gen_array_3d (np .int16 ), strict = True )
49- np .testing .assert_array_equal (np .load ("int32_3d.npy" ), gen_array_3d (np .int32 ), strict = True )
50- np .testing .assert_array_equal (np .load ("int64_3d.npy" ), gen_array_3d (np .int64 ), strict = True )
51-
52- np .testing .assert_array_equal (np .load ("uint8_3d.npy" ), gen_array_3d (np .uint8 ), strict = True )
53- np .testing .assert_array_equal (np .load ("uint16_3d.npy" ), gen_array_3d (np .uint16 ), strict = True )
54- np .testing .assert_array_equal (np .load ("uint32_3d.npy" ), gen_array_3d (np .uint32 ), strict = True )
55- np .testing .assert_array_equal (np .load ("uint64_3d.npy" ), gen_array_3d (np .uint64 ), strict = True )
56-
57- np .testing .assert_array_equal (np .load ("float_3d.npy" ), gen_array_3d (np .float32 ), strict = True )
58- np .testing .assert_array_equal (np .load ("double_3d.npy" ), gen_array_3d (np .float64 ), strict = True )
59-
60- np .testing .assert_array_equal (
61- np .load ("complex_float_3d.npy" ), gen_array_3d (np .complex64 ), strict = True
62- )
63- np .testing .assert_array_equal (
64- np .load ("complex_double_3d.npy" ), gen_array_3d (np .complex128 ), strict = True
65- )
47+ np .testing .assert_array_equal (np .load ("int8_3d.npy" ), gen_array_3d (np .int8 ))
48+ np .testing .assert_array_equal (np .load ("int16_3d.npy" ), gen_array_3d (np .int16 ))
49+ np .testing .assert_array_equal (np .load ("int32_3d.npy" ), gen_array_3d (np .int32 ))
50+ np .testing .assert_array_equal (np .load ("int64_3d.npy" ), gen_array_3d (np .int64 ))
51+
52+ np .testing .assert_array_equal (np .load ("uint8_3d.npy" ), gen_array_3d (np .uint8 ))
53+ np .testing .assert_array_equal (np .load ("uint16_3d.npy" ), gen_array_3d (np .uint16 ))
54+ np .testing .assert_array_equal (np .load ("uint32_3d.npy" ), gen_array_3d (np .uint32 ))
55+ np .testing .assert_array_equal (np .load ("uint64_3d.npy" ), gen_array_3d (np .uint64 ))
56+
57+ np .testing .assert_array_equal (np .load ("float_3d.npy" ), gen_array_3d (np .float32 ))
58+ np .testing .assert_array_equal (np .load ("double_3d.npy" ), gen_array_3d (np .float64 ))
59+
60+ np .testing .assert_array_equal (np .load ("complex_float_3d.npy" ), gen_array_3d (np .complex64 ))
61+ np .testing .assert_array_equal (np .load ("complex_double_3d.npy" ), gen_array_3d (np .complex128 ))
0 commit comments