Skip to content

Commit

Permalink
Rename test to make it more descriptive
Browse files Browse the repository at this point in the history
  • Loading branch information
abravalheri committed May 18, 2022
1 parent 8754d90 commit 68d0c99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_cli.py
Expand Up @@ -166,7 +166,7 @@ def test_multiple_files(tmp_path, capsys):


@pytest.mark.skipif(sys.version_info[:2] < (3, 11), reason="requires 3.11+")
def test_toml_parser():
def test_parser_is_tomllib():
"""Make sure Python >= 3.11 uses tomllib instead of tomli"""
module_name = inspect.getmodule(cli.loads).__name__
assert module_name.startswith("tomllib")

0 comments on commit 68d0c99

Please sign in to comment.