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

Method test_1

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

Source from the content-addressed store, hash-verified

12class TestAppendpath:
13
14 def test_1(self):
15 assert_equal(appendpath('prefix', 'name'), join('prefix', 'name'))
16 assert_equal(appendpath('/prefix', 'name'), ajoin('prefix', 'name'))
17 assert_equal(appendpath('/prefix', '/name'), ajoin('prefix', 'name'))
18 assert_equal(appendpath('prefix', '/name'), join('prefix', 'name'))
19
20 def test_2(self):
21 assert_equal(appendpath('prefix/sub', 'name'),

Callers

nothing calls this directly

Calls 3

assert_equalFunction · 0.90
appendpathFunction · 0.90
joinFunction · 0.85

Tested by

no test coverage detected