diff options
Diffstat (limited to 'Lib/test/test_threading_local.py')
| -rw-r--r-- | Lib/test/test_threading_local.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_threading_local.py b/Lib/test/test_threading_local.py index b161315..e53400c 100644 --- a/Lib/test/test_threading_local.py +++ b/Lib/test/test_threading_local.py @@ -196,7 +196,7 @@ class ThreadLocalTest(unittest.TestCase, BaseLocalTest): wr = weakref.ref(x) del x gc.collect() - self.assertIs(wr(), None) + self.assertIsNone(wr()) class PyThreadingLocalTest(unittest.TestCase, BaseLocalTest): _local = _threading_local.local |
