Add support for Python 3 in DB API test suite stub.
This commit is contained in:
parent
ae45152339
commit
f555a10f36
|
@ -10,6 +10,8 @@
|
|||
"""Driver specific portion of the DB API test suite provided by Stuart Bishop
|
||||
available at http://stuartbishop.net/Software/DBAPI20TestSuite/"""
|
||||
|
||||
from __future__ import print_function
|
||||
|
||||
import cx_Oracle
|
||||
import dbapi20
|
||||
import unittest
|
||||
|
@ -43,6 +45,6 @@ class TestSuite(dbapi20.DatabaseAPI20Test):
|
|||
|
||||
|
||||
if __name__ == "__main__":
|
||||
print "Testing cx_Oracle version", cx_Oracle.version
|
||||
print("Testing cx_Oracle version", cx_Oracle.version)
|
||||
unittest.main()
|
||||
|
||||
|
|
Loading…
Reference in New Issue