(loader, tests, pattern)
| 232 | |
| 233 | |
| 234 | def load_tests(loader, tests, pattern): |
| 235 | tests.addTest(DocTestSuite('_threading_local')) |
| 236 | |
| 237 | local_orig = _threading_local.local |
| 238 | def setUp(test): |
| 239 | _threading_local.local = _thread._local |
| 240 | def tearDown(test): |
| 241 | _threading_local.local = local_orig |
| 242 | tests.addTests(DocTestSuite('_threading_local', |
| 243 | setUp=setUp, tearDown=tearDown) |
| 244 | ) |
| 245 | return tests |
| 246 | |
| 247 | |
| 248 | if __name__ == '__main__': |
nothing calls this directly
no test coverage detected
searching dependent graphs…