We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b850605 commit 5f47786Copy full SHA for 5f47786
onnxruntime/test/python/onnxruntime_test_python.py
@@ -1307,7 +1307,7 @@ def test_session_options_add_external_initializers(self):
1307
1308
def test_register_custom_ops_library(self):
1309
if sys.platform.startswith("win"):
1310
- shared_library = "custom_op_library.dll"
+ shared_library = os.path.abspath("custom_op_library.dll")
1311
if not os.path.exists(shared_library):
1312
raise FileNotFoundError(f"Unable to find '{shared_library}'")
1313
@@ -1724,7 +1724,7 @@ def test_register_custom_e_ps_library(self):
1724
return
1725
1726
1727
- shared_library = "test_execution_provider.dll"
+ shared_library = os.path.abspath("test_execution_provider.dll")
1728
1729
elif sys.platform.startswith("darwin"):
1730
# exclude for macos
0 commit comments