def test_is_generic_with_non_generic(): assert not is_generic(int)
def test_is_generic_with_generic(): assert is_generic(Optional[int])
def test_is_generic_with_non_generic(): assert not is_generic(int)
def test_is_generic_with_generic(): assert is_generic(Optional[int])