MCPcopy Create free account
hub / github.com/fabioz/PyDev.Debugger / NonMainThread

Class NonMainThread

tests_python/test_utilities.py:99–101  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

97 raise AssertionError(error_msg)
98
99 class NonMainThread(threading.Thread):
100 def run(self):
101 self.is_main_thread = is_current_thread_main_thread()
102
103 non_main_thread = NonMainThread()
104 non_main_thread.start()

Callers 1

test_is_main_threadFunction · 0.85

Calls

no outgoing calls

Tested by 1

test_is_main_threadFunction · 0.68