diff options
author | Nikita Sobolev <mail@sobolevn.me> | 2022-11-06 11:53:57 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-06 11:53:57 (GMT) |
commit | a0bc75e2fdd53680cb147881bcb3754bd56aa2fa (patch) | |
tree | 52fd83b4e179849c66d211785387694cdad18f4e /Lib | |
parent | 8feb7ab77c80968a6de6079299a39b0494b1701b (diff) | |
download | cpython-a0bc75e2fdd53680cb147881bcb3754bd56aa2fa.zip cpython-a0bc75e2fdd53680cb147881bcb3754bd56aa2fa.tar.gz cpython-a0bc75e2fdd53680cb147881bcb3754bd56aa2fa.tar.bz2 |
`test_typing`: use all pickle protocols (#99154)
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/test/test_typing.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_typing.py b/Lib/test/test_typing.py index f8168bd..6ff7f61 100644 --- a/Lib/test/test_typing.py +++ b/Lib/test/test_typing.py @@ -2900,7 +2900,7 @@ class ProtocolTests(BaseTestCase): self.assertEqual(x.bar, 'abc') self.assertEqual(x.x, 1) self.assertEqual(x.__dict__, {'foo': 42, 'bar': 'abc'}) - s = pickle.dumps(P) + s = pickle.dumps(P, proto) D = pickle.loads(s) class E: |