(self)
| 432 | |
| 433 | class NullcontextTestCase(unittest.TestCase): |
| 434 | def test_nullcontext(self): |
| 435 | class C: |
| 436 | pass |
| 437 | c = C() |
| 438 | with nullcontext(c) as c_in: |
| 439 | self.assertIs(c_in, c) |
| 440 | |
| 441 | |
| 442 | class FileContextTestCase(unittest.TestCase): |
nothing calls this directly
no test coverage detected