Thanks to visit codestin.com Credit goes to github.com
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 cae2275 commit d5a980aCopy full SHA for d5a980a
1 file changed
Lib/test/test_os.py
@@ -3485,7 +3485,11 @@ def test_stty_match(self):
3485
should work too.
3486
"""
3487
try:
3488
- size = subprocess.check_output(['stty', 'size']).decode().split()
+ size = (
3489
+ subprocess.check_output(
3490
+ ["stty", "size"], stderr=subprocess.DEVNULL, text=True
3491
+ ).split()
3492
+ )
3493
except (FileNotFoundError, subprocess.CalledProcessError,
3494
PermissionError):
3495
self.skipTest("stty invocation failed")
0 commit comments