Skip to content

Commit

Permalink
Fixing mistake with raw strings
Browse files Browse the repository at this point in the history
  • Loading branch information
emma58 committed Aug 16, 2023
1 parent bd1d42c commit d595a32
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pyomo/gdp/tests/test_transform_current_disjunctive_state.py
Original file line number Diff line number Diff line change
Expand Up @@ -344,9 +344,9 @@ def test_complain_about_dangling_disjuncts(self):

with self.assertRaisesRegex(
GDP_Error,
"Found active Disjuncts on the model that "
"were not included in any Disjunctions:\nd\[4\]\nPlease "
"deactivate them or include them in a Disjunction.",
r"Found active Disjuncts on the model that "
r"were not included in any Disjunctions:\nd\[4\]\nPlease "
r"deactivate them or include them in a Disjunction.",
):
reverse = TransformationFactory(
'gdp.transform_current_disjunctive_state'
Expand Down

0 comments on commit d595a32

Please sign in to comment.