(self)
| 259 | version('unknown-package') |
| 260 | |
| 261 | def test_egg(self): |
| 262 | egg = self.site_dir.joinpath('foo-3.6.egg') |
| 263 | egg.mkdir() |
| 264 | with self.add_sys_path(egg): |
| 265 | with self.assertRaises(PackageNotFoundError): |
| 266 | version('foo') |
| 267 | |
| 268 | |
| 269 | class MissingSysPath(fixtures.OnSysPath, unittest.TestCase): |
nothing calls this directly
no test coverage detected