Skip to content

Commit b1bf98f

Browse files
tests/conftest.py: flush stdout after each test.
1 parent a27e687 commit b1bf98f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/conftest.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import os
22
import platform
3+
import sys
34

45
import pymupdf
56

@@ -47,6 +48,8 @@ def get_fds():
4748
# Run the test.
4849
rep = yield
4950

51+
sys.stdout.flush()
52+
5053
# Test has run; check it did not create any MuPDF warnings etc.
5154
wt = pymupdf.TOOLS.mupdf_warnings()
5255
if not hasattr(pymupdf, 'mupdf'):

0 commit comments

Comments
 (0)