test_zxjdbc_dbapi20.py

来自「mallet是自然语言处理、机器学习领域的一个开源项目。」· Python 代码 · 共 27 行

PY
27
字号
#!/usr/bin/env jython# $Id: test_zxjdbc_dbapi20.py,v 1.1 2005/10/28 23:47:47 kuzman Exp $"""This is to be used with the DB API compatibility test available @  http://stuartbishop.net/Software/DBAPI20TestSuite/"""__rcs_id__  = '$Id: test_zxjdbc_dbapi20.py,v 1.1 2005/10/28 23:47:47 kuzman Exp $'__version__ = '$Revision: 1.1 $'import dbapi20import unittestfrom com.ziclix.python.sql import zxJDBC as zxjdbcclass test_zxjdbc(dbapi20.DatabaseAPI20Test):    driver = zxjdbc    connect_args = ("jdbc:postgresql://localhost/ziclix", "bzimmer", "", "org.postgresql.Driver")    connect_kw_args = {}        def test_nextset(self): pass    def test_setoutputsize(self): passif __name__ == '__main__':    unittest.main()

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?