We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e84aced commit 18528bbCopy full SHA for 18528bb
tests/test_python.py
@@ -20,6 +20,7 @@ def mock_version(*args, **kwargs):
20
class FakeObj:
21
def __init__(self, out):
22
self.out = out
23
+ self.args = ['py', '--list-paths']
24
25
def communicate(self, *args, **kwargs):
26
return self.out, ""
@@ -79,6 +80,7 @@ def mock_version(*args, **kwargs):
79
80
81
82
83
84
85
86
@@ -91,6 +93,9 @@ def __enter__(self):
91
93
92
94
def __exit__(self, exc_type, exc_val, exc_tb):
95
self.kill()
96
+
97
+ def poll(self):
98
+ return 0
99
100
c = FakeObj(".".join([str(i) for i in version_output.split()[0].split(".")]))
101
return c
0 commit comments