We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent faa256d commit 8838e31Copy full SHA for 8838e31
playwright/_impl/_transport.py
@@ -37,7 +37,7 @@ def _get_stderr_fileno() -> Optional[int]:
37
return None
38
39
return sys.stderr.fileno()
40
- except (AttributeError, io.UnsupportedOperation):
+ except (NotImplementedError, AttributeError, io.UnsupportedOperation):
41
# pytest-xdist monkeypatches sys.stderr with an object that is not an actual file.
42
# https://docs.python.org/3/library/faulthandler.html#issue-with-file-descriptors
43
# This is potentially dangerous, but the best we can do.
0 commit comments