Skip to content

Commit 5ebcc7c

Browse files
committed
uncomment zero-length test in ASCIIDType
1 parent 6a7a6ae commit 5ebcc7c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

asciidtype/tests/test_asciidtype.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,10 +55,10 @@ def test_creation_truncation():
5555
)
5656
assert arr.tobytes() == b"htiaa"
5757

58-
# dtype = ASCIIDType()
59-
# arr = np.array(["hello", "this", "is", "an", "array"], dtype=dtype)
60-
# assert repr(arr) == ("array(['', '', '', '', ''], dtype=ASCIIDType(0))")
61-
# assert arr.tobytes() == b""
58+
dtype = ASCIIDType()
59+
arr = np.array(["hello", "this", "is", "an", "array"], dtype=dtype)
60+
assert repr(arr) == ("array(['', '', '', '', ''], dtype=ASCIIDType(0))")
61+
assert arr.tobytes() == b""
6262

6363

6464
def test_casting_to_asciidtype():

0 commit comments

Comments
 (0)