Skip to content

Commit

Permalink
relax warning tests on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
hannorein committed Jan 2, 2025
1 parent ab2ffc0 commit 90ab1bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rebound/tests/test_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def test_start_with_download(self):
with warnings.catch_warnings(record=True) as w:
warnings.simplefilter("always")
sim.start_server(port=1234)
self.assertEqual(len(w),1)
self.assertGreater(len(w),0)
self.assertNotEqual(sim._server_data,None)
self.assertEqual(sim._server_data.contents.ready,1)
self.assertEqual(sim._server_data.contents.port,1234)
Expand Down

0 comments on commit 90ab1bc

Please sign in to comment.