mirror of
https://github.com/wassname/cachier.git
synced 2026-09-11 12:00:30 +08:00
python 2.7 compatible mongo core tests
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user