changeset 39410:fcc6bd11444b

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
author Gregory Szorc <gregory.szorc@gmail.com>
date Tue, 28 Aug 2018 15:22:06 -0700
parents 2fe21c65777e
children aeb551a3bb8a
files tests/test-wireproto-framing.py
diffstat 1 files changed, 0 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- 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'