diff options
author | Simon McVittie <smcv@celebrin.pseudorandom.co.uk> | 2006-11-02 13:24:03 +0000 |
---|---|---|
committer | Simon McVittie <smcv@celebrin.pseudorandom.co.uk> | 2006-11-02 13:24:03 +0000 |
commit | 3ab7a818a7a7a92a15de50ef848318ca61a6d2df (patch) | |
tree | 90e3e09bfbdf25e8321fff14913313e201fd805b /test/cross-test-client.py | |
parent | 263e3ad1cf99e7cd115e7051ed1ea3f2cc35c587 (diff) |
Revert switch from Byte being an int subclass to a str subclass following discussion with J5.
Switching Byte to be a single-character string is arguably more Pythonic, but
needlessly breaks API.
Diffstat (limited to 'test/cross-test-client.py')
-rw-r--r-- | test/cross-test-client.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/cross-test-client.py b/test/cross-test-client.py index 1bf21ec..7a92041 100644 --- a/test/cross-test-client.py +++ b/test/cross-test-client.py @@ -253,9 +253,9 @@ class Client(SignalTestsImpl): self.assert_method_eq(INTERFACE_TESTS, [Variant(Int32(1)),Variant(Int32(2)),Variant(Int32(3))], 'IdentityArray', [Int32(1),Int32(2),Int32(3)]) self.assert_method_eq(INTERFACE_TESTS, [Variant(u'a'),Variant(u'b'),Variant(u'c')], 'IdentityArray', ['a','b','c']) - self.assert_method_eq(INTERFACE_TESTS, ['\x01','\x02','\x03'], 'IdentityByteArray', ByteArray('\x01\x02\x03')) + self.assert_method_eq(INTERFACE_TESTS, [1,2,3], 'IdentityByteArray', ByteArray('\x01\x02\x03')) if have_signatures: - self.assert_method_eq(INTERFACE_TESTS, ['\x01','\x02','\x03'], 'IdentityByteArray', ['\x01', '\x02', '\x03']) + self.assert_method_eq(INTERFACE_TESTS, [1,2,3], 'IdentityByteArray', ['\x01', '\x02', '\x03']) self.assert_method_eq(INTERFACE_TESTS, [False,True], 'IdentityBoolArray', [False,True]) if have_signatures: self.assert_method_eq(INTERFACE_TESTS, [False,True,True], 'IdentityBoolArray', [0,1,2]) |