Skip to content

Commit 50e2316

Browse files
committed
Use our version() method to test cyipopt version
1 parent 55c7805 commit 50e2316

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: pyomo/contrib/pynumero/examples/tests/test_cyipopt_examples.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ def test_cyipopt_functor(self):
269269
self.assertAlmostEqual(s.iloc[6], 0, places=3)
270270

271271
@unittest.skipIf(
272-
cyipopt_core.__version__ == "1.4.0",
272+
cyipopt_solver.PyomoCyIpoptSolver().version() == (1, 4, 0),
273273
"Terminating Ipopt through a user callback is broken in CyIpopt 1.4.0 "
274274
"(see mechmotum/cyipopt#249)",
275275
)

0 commit comments

Comments
 (0)