Skip to content

Commit

Permalink
Reword comment in _WinBashStatus.check for clarity
Browse files Browse the repository at this point in the history
  • Loading branch information
EliahKagan committed Nov 25, 2023
1 parent 0b7ee17 commit 8621e89
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/test_index.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,9 +96,9 @@ def check(cls):
return cls.INAPPLICABLE

try:
# Print rather than returning the test command's exit status so that if a
# failure occurs before we even get to this point, we will detect it. See
# 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.
script = 'test -e /proc/sys/fs/binfmt_misc/WSLInterop; echo "$?"'
command = ["bash.exe", "-c", script]
proc = subprocess.run(command, capture_output=True, check=True, text=True)
Expand Down

0 comments on commit 8621e89

Please sign in to comment.