##// END OF EJS Templates
tests: remove use of string in CBOR test...
Gregory Szorc -
r39447:fcc6bd11 default
parent child Browse files
Show More
@@ -44,9 +44,6 b' class FrameHumanStringTests(unittest.Tes'
44 self.assertEqual(ffs(b"1 1 0 1 0 cbor:b'foo'"),
44 self.assertEqual(ffs(b"1 1 0 1 0 cbor:b'foo'"),
45 b'\x04\x00\x00\x01\x00\x01\x00\x10Cfoo')
45 b'\x04\x00\x00\x01\x00\x01\x00\x10Cfoo')
46
46
47 self.assertEqual(ffs(b"1 1 0 1 0 cbor:u'foo'"),
48 b'\x04\x00\x00\x01\x00\x01\x00\x10cfoo')
49
50 def testcborlists(self):
47 def testcborlists(self):
51 self.assertEqual(ffs(b"1 1 0 1 0 cbor:[None, True, False, 42, b'foo']"),
48 self.assertEqual(ffs(b"1 1 0 1 0 cbor:[None, True, False, 42, b'foo']"),
52 b'\n\x00\x00\x01\x00\x01\x00\x10\x85\xf6\xf5\xf4'
49 b'\n\x00\x00\x01\x00\x01\x00\x10\x85\xf6\xf5\xf4'
General Comments 0
You need to be logged in to leave comments. Login now