diff --git a/tests/test_cli.py b/tests/test_cli.py index b8bc62d..3acd186 100644 --- a/tests/test_cli.py +++ b/tests/test_cli.py @@ -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")