diff --git a/tests/test_example.py b/tests/test_example.py index 914ea63..3a22848 100644 --- a/tests/test_example.py +++ b/tests/test_example.py @@ -44,7 +44,7 @@ def test_stdout_version(capsys): ), "standard output by '--version' should agree with module.__version__" -def test___main__(capsys): +def test_running_as_module(capsys): """Verify that the __main__.py file loads correctly.""" with pytest.raises(SystemExit): with patch.object(sys, "argv", ["bogus", "--version"]):