Lines Matching refs:ident
177 self.assertIsNone(t.ident)
191 self.assertNotEqual(t.ident, 0)
192 self.assertIsNotNone(t.ident)
199 # The ident still must work for the main thread and dummy threads.
200 self.assertIsNotNone(threading.current_thread().ident)
202 ident.append(threading.current_thread().ident)
205 ident = []
209 self.assertEqual(ident[0], tid)
211 del threading._active[ident[0]]
615 self.assertEqual(main.ident, threading.current_thread().ident)
616 self.assertEqual(main.ident, threading.get_ident())
619 self.assertNotEqual(threading.main_thread().ident,
620 threading.current_thread().ident)
636 print(main.ident == threading.current_thread().ident)
637 print(main.ident == threading.get_ident())
659 print(main.ident == threading.current_thread().ident)
660 print(main.ident == threading.get_ident())