Skip to content

Commit b6fe934

Browse files
A. Jesse Jiryu Davisbehackett
authored andcommitted
Clean up imports
1 parent 2028684 commit b6fe934

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

test/test_database.py

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,29 +15,24 @@
1515
"""Test the database module."""
1616

1717
import datetime
18-
import random
1918
import sys
20-
from unittest.case import SkipTest
2119

2220
sys.path[0:0] = [""]
2321
import unittest
22+
from nose.plugins.skip import SkipTest
2423

2524
from bson.code import Code
2625
from bson.dbref import DBRef
2726
from bson.objectid import ObjectId
2827
from bson.son import SON
2928
from pymongo import (ALL,
30-
ASCENDING,
31-
DESCENDING,
3229
helpers,
3330
OFF,
3431
SLOW_ONLY)
3532
from pymongo.collection import Collection
36-
from pymongo.connection import Connection
3733
from pymongo.database import Database
3834
from pymongo.errors import (CollectionInvalid,
3935
InvalidName,
40-
InvalidOperation,
4136
OperationFailure)
4237
from pymongo.son_manipulator import (AutoReference,
4338
NamespaceInjector,

0 commit comments

Comments
 (0)