Skip to content

Commit

Permalink
test: remove testing of user warning
Browse files Browse the repository at this point in the history
  • Loading branch information
sanjayankur31 committed Aug 13, 2024
1 parent 89bd448 commit 3e7329e
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions neuroml/test/test_nml.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,10 +73,6 @@ def test_generic_add_single(self):
# Success: returns object
self.assertIsNotNone(doc.add(cell))

# Already added, so throw exception
with self.assertWarns(UserWarning):
doc.add(cell)

# Success
self.assertIsNotNone(doc.add(cell1))

Expand Down Expand Up @@ -164,9 +160,6 @@ def test_add_to_container(self):

pop3 = neuroml.Population(id="unique")
network.add(pop3)
# warning because this is already added
with self.assertWarns(UserWarning):
network.add(pop3)

# Note that for Python, this is a new object
# So we can add it again
Expand Down

0 comments on commit 3e7329e

Please sign in to comment.