We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
subTest
1 parent 514bba0 commit cec90dbCopy full SHA for cec90db
1 file changed
Lib/test/test_zoneinfo/test_zoneinfo_property.py
@@ -147,11 +147,10 @@ def setUp(self):
147
def test_pickle_unpickle_cache(self, key):
148
zi = self.klass(key)
149
for proto in range(pickle.HIGHEST_PROTOCOL + 1):
150
- with self.subTest(proto=proto):
151
- pkl_str = pickle.dumps(zi, proto)
152
- zi_rt = pickle.loads(pkl_str)
+ pkl_str = pickle.dumps(zi, proto)
+ zi_rt = pickle.loads(pkl_str)
153
154
- self.assertIs(zi, zi_rt)
+ self.assertIs(zi, zi_rt)
155
156
@hypothesis.given(key=valid_keys())
157
@add_key_examples
0 commit comments