tests: remove use of string in CBOR test
authorGregory Szorc <gregory.szorc@gmail.com>
Tue, 28 Aug 2018 15:22:06 -0700
changeset 39410 fcc6bd11444b
parent 39409 2fe21c65777e
child 39411 aeb551a3bb8a
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
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'