X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/e74117f172e29e8a980e2c9de929ad50d3769150..d1e0d79e38db934a65dded44b903f05ab85829b4:/tests/comments2.py?ds=sidebyside diff --git a/tests/comments2.py b/tests/comments2.py index 7d5d3a3..da4f7a1 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 = [ @@ -159,6 +159,7 @@ short """, arg3=True, ) + ############################################################################ call2( # short