Load plugin containing the test operators from: `dali/test/operators`.
()
| 1039 | |
| 1040 | |
| 1041 | def load_test_operator_plugin(): |
| 1042 | """Load plugin containing the test operators from: `dali/test/operators`.""" |
| 1043 | test_bin_dir = os.path.dirname(dali.__file__) + "/test" |
| 1044 | try: |
| 1045 | plugin_manager.load_library(test_bin_dir + "/libtestoperatorplugin.so") |
| 1046 | except RuntimeError: |
| 1047 | # in conda "libtestoperatorplugin" lands inside lib/ dir |
| 1048 | plugin_manager.load_library("libtestoperatorplugin.so") |
| 1049 | |
| 1050 | |
| 1051 | def is_of_supported(device_id=0): |
no outgoing calls
no test coverage detected