Skip to content

Commit fc4c7fa

Browse files
committed
remove empty array test
1 parent 407d57a commit fc4c7fa

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

quaddtype/tests/test_quaddtype.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -757,13 +757,6 @@ def test_string_backend_consistency(self, strtype, backend):
757757
scalar_val = QuadPrecision(input_str, backend=backend)
758758
np.testing.assert_array_equal(quad_array, np.array([scalar_val], dtype=QuadPrecDType(backend=backend)))
759759

760-
@pytest.mark.parametrize("strtype", [np.str_, np.dtypes.StringDType()])
761-
def test_string_empty_array(self, strtype):
762-
"""Test conversion of empty string array"""
763-
str_array = np.array([], dtype=strtype)
764-
quad_array = str_array.astype(QuadPrecDType())
765-
np.testing.assert_array_equal(quad_array, np.array([], dtype=QuadPrecDType()))
766-
767760
@pytest.mark.parametrize("strtype", [np.str_, np.dtypes.StringDType()])
768761
def test_string_large_array(self, strtype):
769762
"""Test conversion of large string array"""

0 commit comments

Comments
 (0)