Skip to content

Commit 7dc3772

Browse files
committed
Python 3.9a2 reverted how argv[0] is handled
1 parent c09c2c2 commit 7dc3772

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

coverage/execfile.py

-1
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,6 @@ def prepare(self):
169169
if env.PY3:
170170
self.loader = DummyLoader("__main__")
171171

172-
self.args[0] = python_reported_file(self.args[0])
173172
self.arg0 = python_reported_file(self.arg0)
174173

175174
if self.modulename is None:

0 commit comments

Comments
 (0)