Skip to content

Commit 55f8df2

Browse files
committed
PYTHON-2002 Skip failing dnspython seedlist tests on Python 2
1 parent 13d559b commit 55f8df2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/test_dns.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ class TestDNS(unittest.TestCase):
3939

4040
def create_test(test_case):
4141

42+
@unittest.skipIf(sys.version_info[0] < 3, "PYTHON-2002 fails on python 2")
4243
@client_context.require_replica_set
4344
@client_context.require_ssl
4445
def run_test(self):

0 commit comments

Comments
 (0)