diff --git a/runtime-testsuite/test/org/antlr/v4/test/runtime/python/BasePythonTest.java b/runtime-testsuite/test/org/antlr/v4/test/runtime/python/BasePythonTest.java index dae677102..06cbfa1af 100644 --- a/runtime-testsuite/test/org/antlr/v4/test/runtime/python/BasePythonTest.java +++ b/runtime-testsuite/test/org/antlr/v4/test/runtime/python/BasePythonTest.java @@ -514,7 +514,10 @@ public abstract class BasePythonTest implements RuntimeTestSupport { } private String locateTool(String tool) { - String[] roots = { "/opt/local/bin", "/usr/bin/", "/usr/local/bin/" }; + String[] roots = { + "/opt/local/bin", "/usr/bin/", "/usr/local/bin/", + "/Users/"+System.getProperty("user.name")+"/anaconda3/bin/" + }; for(String root : roots) { if(new File(root + tool).exists()) { return root+tool;