You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@avro.apache.org by GitBox <gi...@apache.org> on 2021/08/28 21:21:12 UTC

[GitHub] [avro] kojiromike commented on a change in pull request #1270: AVRO-3162: Update Python CLI

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: issues-unsubscribe@avro.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org