Skip to content

Commit 886b8fe

Browse files
committed
we don't support 2.8 any more
1 parent de512c6 commit 886b8fe

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

tests/test_config.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,6 @@
1010
import warnings
1111

1212

13-
PYMONGO_VERSION = tuple(map(int, pymongo.version.split(".")))
14-
15-
1613
class CustomDict(dict):
1714
pass
1815

@@ -179,7 +176,6 @@ def test_uri_prioritised_over_host_and_port(self):
179176
assert mongo.db.name == 'database_name'
180177

181178

182-
@unittest.skipIf(PYMONGO_VERSION < (2, 8), "missing auth mechanism causes exceptions in older pymongos")
183179
def test_missing_auth_mechanism_in_nonprefixed_config(self):
184180
self.app.config["MONGO_HOST"] = 'localhost'
185181
self.app.config["MONGO_PORT"] = self.port
@@ -200,7 +196,6 @@ def test_missing_auth_mechanism_in_nonprefixed_config(self):
200196
assert mongo.cx.port == self.port
201197

202198

203-
@unittest.skipIf(PYMONGO_VERSION < (2, 8), "missing auth mechanism causes exceptions in older pymongos")
204199
def test_missing_auth_mechanism_in_prefixed_config(self):
205200
self.app.config["CUSTOM_MONGO_HOST"] = 'localhost'
206201
self.app.config["CUSTOM_MONGO_PORT"] = self.port

0 commit comments

Comments
 (0)