Skip to content

Commit a06bca3

Browse files
authored
Rename output variable in subprocess calls
1 parent cafbe90 commit a06bca3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

testing/test_termination.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ def test_close_initiating_remote_no_error(
102102
popen = subprocess.Popen(
103103
[anypython, str(p), str(execnetdir)], stdout=None, stderr=subprocess.PIPE
104104
)
105-
out, err = popen.communicate()
105+
_out, err = popen.communicate()
106106
print(err)
107107
errstr = err.decode("utf8")
108108
lines = [x for x in errstr.splitlines() if "*sys-package" not in x]
@@ -151,6 +151,6 @@ def flush(self):
151151
popen.stdout.readline()
152152
reply = pool.spawn(popen.communicate)
153153
reply.get(timeout=50)
154-
out, err = capfd.readouterr()
154+
_out, err = capfd.readouterr()
155155
lines = [x for x in err.splitlines() if "*sys-package" not in x]
156156
assert not lines or "Killed" in err

0 commit comments

Comments
 (0)