MCPcopy
hub / github.com/numpy/numpy / test_windows_os_sep

Method test_windows_os_sep

numpy/lib/tests/test__datasource.py:264–271  ·  view source on GitHub ↗
(self, tmp_path)

Source from the content-addressed store, hash-verified

262 assert_(path(fn).startswith(str(tmp_path)))
263
264 def test_windows_os_sep(self, tmp_path):
265 orig_os_sep = os.sep
266 try:
267 os.sep = '\\'
268 self.test_ValidHTTP(tmp_path)
269 self.test_sandboxing(tmp_path)
270 finally:
271 os.sep = orig_os_sep
272
273
274class TestRepositoryExists:

Callers

nothing calls this directly

Calls 2

test_ValidHTTPMethod · 0.95
test_sandboxingMethod · 0.95

Tested by

no test coverage detected