Skip to content

Commit e487d1c

Browse files
authored
Fix typo in test_browser_language_detection (#25022)
1 parent c545387 commit e487d1c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/test_other.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6907,7 +6907,7 @@ def test_browser_language_detection(self):
69076907
# If the LANG env. var doesn't exist (Windows), ask Node for the language.
69086908
try:
69096909
cmd = config.NODE_JS + ['-e', 'console.log(navigator.languages[0])']
6910-
expected_lang = subprocess.check_output(cmd, stderr=subprocess.NULL)
6910+
expected_lang = subprocess.check_output(cmd, stderr=subprocess.DEVNULL)
69116911
expected_lang = expected_lang.decode('utf-8').strip().replace('-', '_')
69126912
expected_lang = f'{expected_lang}.UTF-8'
69136913
except Exception:

0 commit comments

Comments
 (0)