Skip to content

Commit

Permalink
tests: remove duplicate method
Browse files Browse the repository at this point in the history
tests/NodeSetTest.py:2033:4: E0102: method already defined line 2028 (function-redefined)
  • Loading branch information
thiell committed Sep 17, 2023
1 parent 4eb90ba commit 689ba71
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions tests/NodeSetTest.py
Original file line number Diff line number Diff line change
Expand Up @@ -2030,11 +2030,6 @@ def test_nd_iter(self):
result = list(iter(ns1))
self.assertEqual(result, ['da2c0', 'da2c1', 'da3c0', 'da3c1'])

def test_nd_iter(self):
ns1 = NodeSet("da[2-3]c[0-1]")
result = list(iter(ns1))
self.assertEqual(result, ['da2c0', 'da2c1', 'da3c0', 'da3c1'])

def test_nd_nsiter(self):
ns1 = NodeSet("da[2-3]c[0-1]")
result = list(ns1.nsiter())
Expand Down

0 comments on commit 689ba71

Please sign in to comment.