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 c545387 commit e487d1cCopy full SHA for e487d1c
test/test_other.py
@@ -6907,7 +6907,7 @@ def test_browser_language_detection(self):
6907
# If the LANG env. var doesn't exist (Windows), ask Node for the language.
6908
try:
6909
cmd = config.NODE_JS + ['-e', 'console.log(navigator.languages[0])']
6910
- expected_lang = subprocess.check_output(cmd, stderr=subprocess.NULL)
+ expected_lang = subprocess.check_output(cmd, stderr=subprocess.DEVNULL)
6911
expected_lang = expected_lang.decode('utf-8').strip().replace('-', '_')
6912
expected_lang = f'{expected_lang}.UTF-8'
6913
except Exception:
0 commit comments