-
-
Notifications
You must be signed in to change notification settings - Fork 32.4k
Closed as not planned
Labels
testsTests in the Lib/test dirTests in the Lib/test dirtopic-replRelated to the interactive shellRelated to the interactive shelltype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
Description
Bug report
======================================================================
ERROR: test_stdout_is_tty (test.test_pyrepl.test_pyrepl.TestPyReplOutput.test_stdout_is_tty)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.x.cstratak-RHEL8-x86_64/build/Lib/test/test_pyrepl/test_pyrepl.py", line 500, in test_stdout_is_tty
if os.isatty(sys.stdout.fileno()):
~~~~~~~~~~~~~~~~~^^
io.UnsupportedOperation: fileno
Example: https://buildbot.python.org/#/builders/185/builds/7253/steps/7/logs/stdio failure on AMD64 RHEL8 3.x
I think that this test should be updated to handle UnsupportedOperation
exception.
Introduced in #120904
Linked PRs
Metadata
Metadata
Assignees
Labels
testsTests in the Lib/test dirTests in the Lib/test dirtopic-replRelated to the interactive shellRelated to the interactive shelltype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error