chaokunyang commented on code in PR #2266:
URL: https://github.com/apache/fury/pull/2266#discussion_r2114358793


##########
java/fory-test-core/src/main/java/org/apache/fory/test/TestUtils.java:
##########
@@ -74,4 +77,17 @@ public static boolean executeCommand(
       throw new RuntimeException("Error executing command " + String.join(" ", 
command), e);
     }
   }
+
+  public static void verifyPyforyInstalled() {
+
+    if (executeCommand(
+        Arrays.asList(
+            "python",
+            "-c",
+            "import importlib, sys; sys.exit(0 if 
importlib.util.find_spec(\"pyfury\") is None else 1)"),

Review Comment:
   ```suggestion
               "import importlib, sys; sys.exit(0 if 
importlib.util.find_spec(\"pyfory\") is None else 1)"),
   ```



-- 
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: commits-unsubscr...@fury.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@fury.apache.org
For additional commands, e-mail: commits-h...@fury.apache.org

Reply via email to