mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-27 10:26:19 +03:00
Merge pull request #5474 from radarhere/stdout
This commit is contained in:
commit
79eb24ba34
|
@ -715,7 +715,7 @@ class TestFilePng:
|
|||
|
||||
@pytest.mark.parametrize("buffer", (True, False))
|
||||
def test_save_stdout(self, buffer):
|
||||
old_stdout = sys.stdout.buffer
|
||||
old_stdout = sys.stdout
|
||||
|
||||
if buffer:
|
||||
|
||||
|
|
|
@ -49,7 +49,7 @@ def test_draw_postscript(tmp_path):
|
|||
@pytest.mark.parametrize("buffer", (True, False))
|
||||
def test_stdout(buffer):
|
||||
# Temporarily redirect stdout
|
||||
old_stdout = sys.stdout.buffer
|
||||
old_stdout = sys.stdout
|
||||
|
||||
if buffer:
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user