diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2016-03-14 08:28:59 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2016-03-14 08:28:59 (GMT) |
commit | 8c0f0c5c1ee8220eba26c4f3f72802a211e1d4fb (patch) | |
tree | 1cd816d54259a8de321e93ccc57ceaec7fe87026 /Lib/test/test_threading_local.py | |
parent | 20be53e5b51a3388454cb7d0604a03a20d884510 (diff) | |
download | cpython-8c0f0c5c1ee8220eba26c4f3f72802a211e1d4fb.zip cpython-8c0f0c5c1ee8220eba26c4f3f72802a211e1d4fb.tar.gz cpython-8c0f0c5c1ee8220eba26c4f3f72802a211e1d4fb.tar.bz2 |
Issue #20556: Used specific assert methods in threading tests.
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 c7f394c..4092cf3 100644 --- a/Lib/test/test_threading_local.py +++ b/Lib/test/test_threading_local.py @@ -189,7 +189,7 @@ class BaseLocalTest: wr = weakref.ref(x) del x gc.collect() - self.assertIs(wr(), None) + self.assertIsNone(wr()) class ThreadLocalTest(unittest.TestCase, BaseLocalTest): |