(self)
| 210 | |
| 211 | |
| 212 | def test_threading(self): |
| 213 | returncode, events, stderr = self.run_python("test_threading") |
| 214 | if returncode: |
| 215 | self.fail(stderr) |
| 216 | |
| 217 | if support.verbose: |
| 218 | print(*events, sep='\n') |
| 219 | actual = [(ev[0], ev[2]) for ev in events] |
| 220 | expected = [ |
| 221 | ("_thread.start_new_thread", "(<test_func>, (), None)"), |
| 222 | ("test.test_func", "()"), |
| 223 | ("_thread.start_joinable_thread", "(<test_func>, 1, None)"), |
| 224 | ("test.test_func", "()"), |
| 225 | ] |
| 226 | |
| 227 | self.assertEqual(actual, expected) |
| 228 | |
| 229 | |
| 230 | def test_wmi_exec_query(self): |
nothing calls this directly
no test coverage detected