(loader, tests, pattern)
| 238 | |
| 239 | |
| 240 | def load_tests(loader, tests, pattern): |
| 241 | tests.addTest(DocTestSuite('_threading_local')) |
| 242 | |
| 243 | local_orig = _threading_local.local |
| 244 | def setUp(test): |
| 245 | _threading_local.local = _thread._local |
| 246 | def tearDown(test): |
| 247 | _threading_local.local = local_orig |
| 248 | tests.addTests(DocTestSuite('_threading_local', |
| 249 | setUp=setUp, tearDown=tearDown) |
| 250 | ) |
| 251 | return tests |
| 252 | |
| 253 | |
| 254 | if __name__ == '__main__': |
nothing calls this directly
no test coverage detected