Fix unittest so it runs on the buildbot (not Windows) where os.add_dll_directory() is not available; use unittest.mock.patch to replace call with a mock.
Fix unittest so it runs on the buildbot (not Windows) where os.add_dll_directory() is not available; use unittest.mock.patch to replace call with a mock.

pyvisa/pyvisa