Home | History | Annotate | Download | only in test

Lines Matching refs:ident

104             self.assertIsNone(t.ident)
113 self.assertNotEqual(t.ident, 0)
114 self.assertIsNotNone(t.ident)
121 # The ident still must work for the main thread and dummy threads.
122 self.assertIsNotNone(threading.currentThread().ident)
124 ident.append(threading.currentThread().ident)
127 ident = []
130 self.assertIsNotNone(ident[0])
132 del threading._active[ident[0]]
484 self.assertEqual(main.ident, threading.current_thread().ident)
485 self.assertEqual(main.ident, threading.get_ident())
488 self.assertNotEqual(threading.main_thread().ident,
489 threading.current_thread().ident)
504 print(main.ident == threading.current_thread().ident)
505 print(main.ident == threading.get_ident())
526 print(main.ident == threading.current_thread().ident)
527 print(main.ident == threading.get_ident())