Skip to content

Commit

Permalink
NFC: remove debugging print()
Browse files Browse the repository at this point in the history
  • Loading branch information
jsiirola committed Nov 29, 2023
1 parent 4036dfa commit ae10ad2
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions pyomo/repn/tests/ampl/test_nlv2.py
Original file line number Diff line number Diff line change
Expand Up @@ -1480,7 +1480,6 @@ def test_presolve_almost_lower_triangular_nonlinear(self):
# Note: bounds on x[1] are:
# min(22/3, 82/17, 23/4, -39/-6) == 4.823529411764706
# max(2/3, 62/17, 3/4, -19/-6) == 3.6470588235294117
print(OUT.getvalue())
self.assertEqual(
*nl_diff(
"""g3 1 1 0 # problem unknown
Expand Down Expand Up @@ -1743,7 +1742,7 @@ def test_scaling(self):
self.assertEqual(LOG.getvalue(), "")

nl2 = OUT.getvalue()
print(nl2)

self.assertEqual(
*nl_diff(
"""g3 1 1 0 # problem unknown
Expand Down Expand Up @@ -1837,7 +1836,7 @@ def test_named_expressions(self):

OUT = io.StringIO()
nl_writer.NLWriter().write(m, OUT, symbolic_solver_labels=True)
print(OUT.getvalue())

self.assertEqual(
*nl_diff(
"""g3 1 1 0 # problem unknown
Expand Down

0 comments on commit ae10ad2

Please sign in to comment.