(int_count)
| 49 | def test_FallbackContext__class_getitem__(self): |
| 50 | @contextlib.contextmanager |
| 51 | def make_thing(int_count): |
| 52 | yield f'dynamic_thing_{int_count}' |
| 53 | |
| 54 | thing_manager = FallbackContext[str, [int]]('static_thing', make_thing) |
| 55 | assert isinstance(thing_manager, FallbackContext), "FallbackContext can be instantiated with type parameters" |
nothing calls this directly
no outgoing calls
no test coverage detected