Test detecting Lib/ path.
(self)
| 48 | """Tests for is_lib_path function.""" |
| 49 | |
| 50 | def test_lib_path(self): |
| 51 | """Test detecting Lib/ path.""" |
| 52 | self.assertTrue(is_lib_path(pathlib.Path("Lib/test/test_foo.py"))) |
| 53 | self.assertTrue(is_lib_path(pathlib.Path("./Lib/test/test_foo.py"))) |
| 54 | |
| 55 | def test_cpython_path_not_lib(self): |
| 56 | """Test that cpython/Lib/ is not detected as lib path.""" |
nothing calls this directly
no test coverage detected