# HG changeset patch # User Gregory Szorc # Date 1535494926 25200 # Node ID fcc6bd11444b6398451c6262b67c07f88debd1c6 # Parent 2fe21c65777edf6b8e3e717807287199ad636af2 tests: remove use of string in CBOR test We don't use the CBOR string major type in the wire protocol. Let's not test for it. Differential Revision: https://phab.mercurial-scm.org/D4413 diff -r 2fe21c65777e -r fcc6bd11444b tests/test-wireproto-framing.py --- a/tests/test-wireproto-framing.py Tue Aug 28 20:27:36 2018 -0700 +++ b/tests/test-wireproto-framing.py Tue Aug 28 15:22:06 2018 -0700 @@ -44,9 +44,6 @@ self.assertEqual(ffs(b"1 1 0 1 0 cbor:b'foo'"), b'\x04\x00\x00\x01\x00\x01\x00\x10Cfoo') - self.assertEqual(ffs(b"1 1 0 1 0 cbor:u'foo'"), - b'\x04\x00\x00\x01\x00\x01\x00\x10cfoo') - def testcborlists(self): self.assertEqual(ffs(b"1 1 0 1 0 cbor:[None, True, False, 42, b'foo']"), b'\n\x00\x00\x01\x00\x01\x00\x10\x85\xf6\xf5\xf4'