diff --git a/test/test_client.py b/test/test_client.py index dc21b357f..04831a71c 100644 --- a/test/test_client.py +++ b/test/test_client.py @@ -1615,6 +1615,8 @@ class TestClient(IntegrationTest): with self.assertRaises(ConfigurationError): MongoClient(['host1', 'host2'], directConnection=True) + @unittest.skipIf(sys.platform.startswith('java'), + 'Jython does not support gc.get_objects') def test_continuous_network_errors(self): def server_description_count(): i = 0