Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions asciidtype/tests/test_asciidtype.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,10 @@ def test_creation_truncation():
)
assert arr.tobytes() == b"htiaa"

# dtype = ASCIIDType()
# arr = np.array(["hello", "this", "is", "an", "array"], dtype=dtype)
# assert repr(arr) == ("array(['', '', '', '', ''], dtype=ASCIIDType(0))")
# assert arr.tobytes() == b""
dtype = ASCIIDType()
arr = np.array(["hello", "this", "is", "an", "array"], dtype=dtype)
assert repr(arr) == ("array(['', '', '', '', ''], dtype=ASCIIDType(0))")
assert arr.tobytes() == b""


def test_casting_to_asciidtype():
Expand Down