Exemple #1
0
 def test_round_trip_with_trailing_tab(self):
     for _, v in PICKLE_KEYS_AND_VALUES:
         self.assertRoundTripWithTrailingTabOK(
             PickleValueProtocol(), None, v)
Exemple #2
0
 def test_bad_data(self):
     self.assertCantDecode(PickleValueProtocol(), b'{@#$@#!^&*$%^')
Exemple #3
0
 def test_round_trip(self):
     for _, v in PICKLE_KEYS_AND_VALUES:
         self.assertRoundTripOK(PickleValueProtocol(), None, v)