summaryrefslogtreecommitdiff
path: root/test/py
diff options
context:
space:
mode:
authorNobuaki Sukegawa <nsuke@apache.org>2015-11-14 19:23:27 +0900
committerNobuaki Sukegawa <nsuke@apache.org>2015-11-15 14:00:18 +0900
commitbc7e480d0fc80501b597ed57b94395e1c85a2069 (patch)
treebb81209ff98713994cae939b0d1810fa051490eb /test/py
parent97a48988de6a7ac513311456a6f6d3ef7f587639 (diff)
downloadthrift-bc7e480d0fc80501b597ed57b94395e1c85a2069.tar.gz
THRIFT-3350 Python JSON protocol does not encode binary as Base64
Client: Python Patch: Nobuaki Sukegawa This closes #697
Diffstat (limited to 'test/py')
-rwxr-xr-xtest/py/TestClient.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/test/py/TestClient.py b/test/py/TestClient.py
index 5b858ef34..051890b25 100755
--- a/test/py/TestClient.py
+++ b/test/py/TestClient.py
@@ -126,8 +126,6 @@ class AbstractTest(unittest.TestCase):
self.assertEqual(self.client.testDouble(-0.000341012439638598279), -0.000341012439638598279)
def testBinary(self):
- if isinstance(self, JSONTest):
- self.skipTest('JSON protocol does not handle binary correctly.')
print('testBinary')
val = bytearray([i for i in range(0, 256)])
self.assertEqual(bytearray(self.client.testBinary(bytes(val))), val)