remove unnecessary sys.path manipulation in tests

This commit is contained in:
Stefan Wojcik
2016-12-06 13:27:10 -05:00
parent 6b2cebb07b
commit bc6c84c408
18 changed files with 2 additions and 48 deletions

View File

@@ -1,6 +1,3 @@
import sys
sys.path[0:0] = [""]
import unittest
from mongoengine import *

View File

@@ -1,9 +1,5 @@
import sys
sys.path[0:0] = [""]
import unittest
from datetime import datetime, timedelta
import unittest
from pymongo.errors import OperationFailure
from mongoengine import *

View File

@@ -1,6 +1,3 @@
import sys
sys.path[0:0] = [""]
import unittest
from mongoengine import connect, Document, IntField
@@ -99,4 +96,4 @@ class FindAndModifyTest(unittest.TestCase):
if __name__ == '__main__':
unittest.main()
unittest.main()