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