X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/28d1442d573abc9aeb567242f584f38eaec3f922..497de7fa08b5072da3cf328e6b870ce2575cb2a7:/tests/comments2.py diff --git a/tests/comments2.py b/tests/comments2.py index 7d5d3a3..6689c88 100644 --- a/tests/comments2.py +++ b/tests/comments2.py @@ -35,12 +35,12 @@ def inline_comments_in_brackets_ruin_everything(): body, parameters.children[-1], # )2 ] - if (self._proc is not None and + if (self._proc is not None # has the child process finished? - self._returncode is None and + and self._returncode is None # the child process has finished, but the # transport hasn't been notified yet? - self._proc.poll() is None): + and self._proc.poll() is None): pass short = [ # one @@ -137,12 +137,12 @@ def inline_comments_in_brackets_ruin_everything(): parameters.children[-1], # )2 ] if ( - self._proc is not None and + self._proc is not None # has the child process finished? - self._returncode is None and + and self._returncode is None # the child process has finished, but the # transport hasn't been notified yet? - self._proc.poll() is None + and self._proc.poll() is None ): pass short = [