diff --git a/rebound/tests/test_server.py b/rebound/tests/test_server.py index 798a9f774..20355fbbe 100644 --- a/rebound/tests/test_server.py +++ b/rebound/tests/test_server.py @@ -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)