Skip to content

Commit

Permalink
NFC: apply black
Browse files Browse the repository at this point in the history
  • Loading branch information
jsiirola committed Jul 29, 2024
1 parent 26488f3 commit 0fc78ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyomo/core/tests/unit/test_set.py
Original file line number Diff line number Diff line change
Expand Up @@ -3824,7 +3824,7 @@ def test_initialize_with_noniterable(self):
with LoggingIntercept(output, 'pyomo.core'):
with self.assertRaisesRegex(TypeError, "'int' object is not iterable"):
m = ConcreteModel()
m.I = Set([1,2], initialize=5)
m.I = Set([1, 2], initialize=5)
ref = "Initializer for Set I[1] returned non-iterable object of type int."
self.assertIn(ref, output.getvalue())

Expand Down

0 comments on commit 0fc78ad

Please sign in to comment.