Example #1
0
 def test_bytes_b(self):
     self.assertEqual(force_bytes(b"foo"), b"foo")
Example #2
0
 def test_bytes_str(self):
     self.assertEqual(force_bytes("foo"), b"foo")