Skip to content

Commit

Permalink
Remove unnecessary test
Browse files Browse the repository at this point in the history
  • Loading branch information
dachengx committed Dec 8, 2023
1 parent ac8a173 commit 4dc8e94
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions tests/test_gaussian_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,7 @@ def setUp(cls):
def test_data_generation(self):
"""Test generation of data."""
self.model.data = self.model.generate_data(mu=0)
with self.assertWarns(
Warning, msg="Should raise warning when generate_data with non-fittable parameter"
):
self.model.generate_data(mu=0, sigma=2)
self.model.generate_data(mu=0, sigma=2)

def test_data_storage(self):
"""Test storage of data to file and retrieval of data from file."""
Expand Down

0 comments on commit 4dc8e94

Please sign in to comment.