def test_pack_utf8(): assert CString("日本語") == UTF8
def test_pack_ascii(): assert CString("ABC", "ascii") == ASCII