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

Method test_3

numpy/distutils/tests/test_misc_util.py:28–34  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

26 ajoin('prefix', 'sub', 'name'))
27
28 def test_3(self):
29 assert_equal(appendpath('/prefix/sub', '/prefix/sup/name'),
30 ajoin('prefix', 'sub', 'sup', 'name'))
31 assert_equal(appendpath('/prefix/sub/sub2', '/prefix/sup/sup2/name'),
32 ajoin('prefix', 'sub', 'sub2', 'sup', 'sup2', 'name'))
33 assert_equal(appendpath('/prefix/sub/sub2', '/prefix/sub/sup/name'),
34 ajoin('prefix', 'sub', 'sub2', 'sup', 'name'))
35
36class TestMinrelpath:
37

Callers

nothing calls this directly

Calls 2

assert_equalFunction · 0.90
appendpathFunction · 0.90

Tested by

no test coverage detected