There was an error while loading. Please reload this page.
1 parent 0b7ee17 commit 8621e89Copy full SHA for 8621e89
1 file changed
test/test_index.py
@@ -96,9 +96,9 @@ def check(cls):
96
return cls.INAPPLICABLE
97
98
try:
99
- # Print rather than returning the test command's exit status so that if a
100
- # failure occurs before we even get to this point, we will detect it. See
101
- # https://superuser.com/a/1749811 for information on ways to check for WSL.
+ # Output rather than forwarding the test command's exit status so that if a
+ # failure occurs before we even get to this point, we will detect it. For
+ # information on ways to check for WSL, see https://superuser.com/a/1749811.
102
script = 'test -e /proc/sys/fs/binfmt_misc/WSLInterop; echo "$?"'
103
command = ["bash.exe", "-c", script]
104
proc = subprocess.run(command, capture_output=True, check=True, text=True)
0 commit comments