Skip to content

Commit

Permalink
- remove un-used test case
Browse files Browse the repository at this point in the history
  • Loading branch information
maycuatroi committed Dec 16, 2024
1 parent 1025b70 commit 7447bc8
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions src/latexify/ast_utils_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,23 +73,6 @@ def test_is_constant(value: ast.AST, expected: bool) -> None:
assert ast_utils.is_constant(value) is expected


@pytest.mark.parametrize(
"value,expected",
[
(ast.Constant(value=b"foo"), False),
(ast.Constant(value="bar"), True),
(ast.Constant(value=...), False),
(ast.Constant(value=None), False),
(ast.Constant(value=123), False),
(ast.Constant(value="baz"), True),
(ast.Expr(value=ast.Constant(value=456)), False),
(ast.Global(names=["qux"]), False),
],
)
def test_is_str_legacy(value: ast.AST, expected: bool) -> None:
assert ast_utils.is_str(value) is expected


@pytest.mark.parametrize(
"value,expected",
[
Expand Down

0 comments on commit 7447bc8

Please sign in to comment.