Skip to content

Commit c4165de

Browse files
Update Lib/test/test_concurrent_futures/test_future.py
Co-authored-by: Kumar Aditya <[email protected]>
1 parent b0908ed commit c4165de

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/test/test_concurrent_futures/test_future.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,7 @@ def test_get_snapshot(self):
309309
self.assertTrue(done)
310310
self.assertFalse(cancelled)
311311
self.assertIsNone(result)
312-
self.assertEqual(exception, exc)
312+
self.assertIs(exception, exc)
313313

314314
# Test with a cancelled future
315315
f = Future()

0 commit comments

Comments
 (0)