Issue #20556: Used specific assert methods in threading tests.

This commit is contained in:
Serhiy Storchaka 2016-03-14 10:28:59 +02:00
parent 20be53e5b5
commit 8c0f0c5c1e
3 changed files with 22 additions and 23 deletions

View file

@ -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):