kojiromike commented on a change in pull request #1270:
URL: https://github.com/apache/avro/pull/1270#discussion_r697919504
##########
File path: lang/py/avro/test/test_script.py
##########
@@ -193,26 +178,29 @@ def tearDown(self):
continue
def _run(self, *args, **kw):
- args = [sys.executable, SCRIPT, "write", "--schema", self.schema_file]
+ list(args)
+ args = [sys.executable, "-m" "avro", "write", "--schema",
self.schema_file] + list(args)
Review comment:
Hah, this one is funny, because `python -mavro` works just as well as
`python -m avro`, but it was a good find by the code scanner anyway.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]