We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 44b8a8e commit 33dac71Copy full SHA for 33dac71
noxfile.py
@@ -22,6 +22,7 @@
22
import pathlib
23
import re
24
import shutil
25
+import subprocess
26
import warnings
27
28
import nox
@@ -614,6 +615,12 @@ def conda_test(session):
614
615
# for troubleshooting purposes.
616
session.run("mamba", "list")
617
618
+ # Using subprocess.run() instead of session.run() because
619
+ # session.run() does not correctly handle the pip check command.
620
+ subprocess.run(
621
+ ["pip", "check"], check=True
622
+ ) # Raise an exception if pip check fails
623
+
624
# Tests are limited to unit tests only, at this time.
625
session.run(
626
"py.test",
0 commit comments