summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_threading_local.py
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2016-03-14 08:28:59 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2016-03-14 08:28:59 (GMT)
commitd351827b0b7465b14ed5eeac4d37c755d1f93982 (patch)
treebd8288b982f0bc23f45a3e65e5133f50e4f26b7a /Lib/test/test_threading_local.py
parentaac1dd04291b56a88e54287b422d27b47f22bbfe (diff)
downloadcpython-d351827b0b7465b14ed5eeac4d37c755d1f93982.zip
cpython-d351827b0b7465b14ed5eeac4d37c755d1f93982.tar.gz
cpython-d351827b0b7465b14ed5eeac4d37c755d1f93982.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.py2
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