"megatron/legacy/model/fused_layer_norm.py" did not exist on "a2fdcdf06162b7846e5216128457dcbcec6dd96a"
test_findlib.py 324 Bytes
Newer Older
dugupeiwen's avatar
dugupeiwen committed
1
2
3
4
5
6
7
8
9
10
11
12
from numba.tests.support import TestCase, unittest
from numba.misc import findlib


class TestFindlib(TestCase):
    def test_find_file_nonexistent_path(self):
        candidates = findlib.find_file('libirrelevant.so', 'NONEXISTENT')
        self.assertEqual(candidates, [])


if __name__ == '__main__':
    unittest.main()