We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a7ddf63 commit f3a9b1fCopy full SHA for f3a9b1f
pyomo/common/unittest.py
@@ -45,7 +45,7 @@
45
# We defer this import so that we don't add a hard dependence on pytest.
46
# Note that importing test modules may cause this import to be resolved
47
# (and then enforce a strict dependence on pytest)
48
-pytest = attempt_import('pytest')
+pytest, pytest_available = attempt_import('pytest')
49
50
51
def _defaultFormatter(msg, default):
0 commit comments