From 8621e892ed5ed05b1a304c9ea25a460f376677bb Mon Sep 17 00:00:00 2001 From: Eliah Kagan Date: Sat, 25 Nov 2023 00:01:33 -0500 Subject: [PATCH] Reword comment in _WinBashStatus.check for clarity --- test/test_index.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/test_index.py b/test/test_index.py index 9a520275c..e1bcd5b25 100644 --- a/test/test_index.py +++ b/test/test_index.py @@ -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)