Merge pull request #1383 from PyCQA/rename_test

fix test name after refactor
This commit is contained in:
Anthony Sottile 2021-09-08 18:51:41 -04:00 committed by GitHub
commit 03401a66cb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -125,8 +125,8 @@ def test_write_uses_an_output_file(tee, capsys):
]
def test_write_uses_print(capsys):
"""Verify that we use the print function without an output file."""
def test_write_produces_stdout(capsys):
"""Verify that we write to stdout without an output file."""
line = "Something to write"
source = "source"