This commit is contained in:
Jared Vasquez
2019-12-02 22:29:22 -08:00
parent 23f6adc760
commit c00a43a17d

View File

@@ -360,7 +360,7 @@ capfd
def test_system_echo(capfd):
os.system('echo "hello"')
captured = capsys.readouterr()
captured = capfd.readouterr()
assert captured.out == "hello\n"