python 2.7 compatible mongo core tests

This commit is contained in:
Shay Palachy
2017-04-25 00:39:04 +03:00
parent b7641adeba
commit 9ba68115ce
+4 -1
View File
@@ -5,7 +5,10 @@ from random import random
from datetime import timedelta
from time import sleep
import threading
import queue
try:
import queue
except ImportError: # python 2
import Queue as queue
import pytest
from pymongo.mongo_client import MongoClient