Skip to content

Commit f842225

Browse files
committed
Clean up
1 parent 52cd382 commit f842225

1 file changed

Lines changed: 8 additions & 5 deletions

File tree

‎language_check/backports/subprocess.py‎

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,17 @@
77

88
from subprocess import Popen, PIPE, STDOUT, check_call, check_output
99

10+
# For pyflakes.
11+
check_call
12+
check_output
13+
PIPE
14+
STDOUT
15+
1016
if sys.platform == 'win32':
1117
from subprocess import STARTUPINFO
12-
assert STARTUPINFO
18+
# For pyflakes.
19+
STARTUPINFO
1320

14-
assert check_call
15-
assert check_output
16-
assert PIPE
17-
assert STDOUT
1821

1922
if sys.version_info[0] == 2:
2023
class SubprocessError(Exception):

0 commit comments

Comments
 (0)