diff options
Diffstat (limited to 'tests/dbapi20.py')
-rw-r--r-- | tests/dbapi20.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/dbapi20.py b/tests/dbapi20.py index 4facf8e..212d054 100644 --- a/tests/dbapi20.py +++ b/tests/dbapi20.py @@ -90,12 +90,12 @@ class DatabaseAPI20Test(unittest.TestCase): self.driver, connect_args and connect_kw_args. Class specification should be as follows: - import dbapi20 + from . import dbapi20 class mytest(dbapi20.DatabaseAPI20Test): [...] - Don't 'import DatabaseAPI20Test from dbapi20', or you will - confuse the unit tester - just 'import dbapi20'. + Don't 'from .dbapi20 import DatabaseAPI20Test', or you will + confuse the unit tester - just 'from . import dbapi20'. ''' # The self.driver module. This should be the module where the 'connect' |