(self)
| 37 | assert get_args(Signature[str]) == (str,), "__class_getitem__ returns a GenericAlias" |
| 38 | |
| 39 | def test__LocalStack__class_getitem__(self): |
| 40 | stack = _LocalStack[Context]() |
| 41 | assert isinstance(stack, _LocalStack), "_LocalStack can be instantiated with type parameters" |
| 42 | assert get_args(_LocalStack[Context]) == (Context,), "__class_getitem__ returns a GenericAlias" |
| 43 | |
| 44 | def test__FastLocalStack__class_getitem__(self): |
| 45 | s = _FastLocalStack[Context]() |
nothing calls this directly
no outgoing calls
no test coverage detected