File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -269,11 +269,15 @@ def test_systemwide_python(self):
269269 p2 = os .path .normpath (pybin )
270270 assert p1 == p2
271271 except RuntimeError as e :
272+ # (remember this is not in a virtualenv)
273+ # Some deps may not be installed, so we just avoid to raise
274+ # an exception here, as a missing dep should not make the test
275+ # fail.
272276 if "pep517" in str (e .args ):
273277 # System python probably doesn't have pep517 available!
274- # (remember this is not in a virtualenv)
275- # Not much we can do in that case since pythonpackage needs it,
276- # so we'll skip this particular check.
278+ pass
279+ elif "toml" in str ( e . args ):
280+ # System python probably doesn't have toml available!
277281 pass
278282 else :
279283 raise
You can’t perform that action at this time.
0 commit comments