Skip to content

Commit 1a347bf

Browse files
committed
Fix typo restoring state after test
1 parent 66696b3 commit 1a347bf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pyomo/common/tests/test_numeric_types.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ def setUp(self):
3535
def tearDown(self):
3636
for s in _type_sets:
3737
getattr(nt, s).clear()
38-
getattr(nt, s).update(getattr(nt, s))
38+
getattr(nt, s).update(getattr(self, s))
3939

4040
def test_check_if_native_type(self):
4141
self.assertEqual(nt.native_types, set())

0 commit comments

Comments
 (0)