From 72715e3d288fe50f083b82cae68f01eed7db803e Mon Sep 17 00:00:00 2001 From: Nicholas McDonnell <50747025+mcdonnnj@users.noreply.github.com> Date: Thu, 22 Oct 2020 12:50:01 -0400 Subject: [PATCH] Change a test name to be more descriptive --- tests/test_example.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"]):