Skip to content

Commit 215feec

Browse files
committed
PYTHON-2433 Skip test_continuous_network_errors on Jython
(cherry picked from commit 92aed33)
1 parent 31cd753 commit 215feec

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/test_client.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1615,6 +1615,8 @@ def test_direct_connection(self):
16151615
with self.assertRaises(ConfigurationError):
16161616
MongoClient(['host1', 'host2'], directConnection=True)
16171617

1618+
@unittest.skipIf(sys.platform.startswith('java'),
1619+
'Jython does not support gc.get_objects')
16181620
def test_continuous_network_errors(self):
16191621
def server_description_count():
16201622
i = 0

0 commit comments

Comments
 (0)