We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c883d8a commit ed43cbbCopy full SHA for ed43cbb
1 file changed
tests/test_pythonpackage_basic.py
@@ -269,11 +269,15 @@ def test_systemwide_python(self):
269
p2 = os.path.normpath(pybin)
270
assert p1 == p2
271
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.
276
if "pep517" in str(e.args):
277
# System python probably doesn't have pep517 available!
- # (remember this is not in a virtualenv)
- # Not much we can do in that case since pythonpackage needs it,
- # 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!
281
pass
282
else:
283
raise
0 commit comments