Finalize python2/3 codebase compatibility and get rid of 2to3

This commit is contained in:
Bastien Gérard
2019-06-14 23:30:01 +02:00
parent 4d6ddb070e
commit 2ca905b6e5
11 changed files with 31 additions and 38 deletions

View File

@@ -1,12 +1,8 @@
# -*- coding: utf-8 -*-
import pytest
from bson.int64 import Int64
import six
try:
from bson.int64 import Int64
except ImportError:
Int64 = long
from mongoengine import *
from mongoengine.connection import get_db