MCPcopy Create free account
hub / github.com/numpy/numpy / test_windows_os_sep

Method test_windows_os_sep

numpy/lib/tests/test__datasource.py:276–283  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

274 assert_(tmp_path(fn).startswith(self.tmpdir))
275
276 def test_windows_os_sep(self):
277 orig_os_sep = os.sep
278 try:
279 os.sep = '\\'
280 self.test_ValidHTTP()
281 self.test_sandboxing()
282 finally:
283 os.sep = orig_os_sep
284
285
286class TestRepositoryExists:

Callers

nothing calls this directly

Calls 2

test_ValidHTTPMethod · 0.95
test_sandboxingMethod · 0.95

Tested by

no test coverage detected