Skip to content

Commit

Permalink
Refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
insolor committed Dec 3, 2023
1 parent e51e6cf commit a613db8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_viscii.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ def register_codec():
encoded = bytes(range(0x80, 0x100)) + b"\x02\x05\x06\x14\x19\x1e"


def test_viscii_encode():
def test_encode():
assert codecs.encode(source_data, "viscii") == encoded


def test_viscii_decode():
def test_decode():
assert codecs.decode(encoded, "viscii") == source_data

0 comments on commit a613db8

Please sign in to comment.