python类__name__()的实例源码

test_notify.py 文件源码 项目:PyEloqua-Examples 作者: colemanja91 项目源码 文件源码 阅读 25 收藏 0 点赞 0 评论 0
def test_suite():
    return unittest.TestLoader().loadTestsFromName(__name__)
db.py 文件源码 项目:arthur-redshift-etl 作者: harrystech 项目源码 文件源码 阅读 25 收藏 0 点赞 0 评论 0
def connection_pool(max_conn, dsn_dict: Dict[str, str], application_name=psycopg2.__name__):
    """
    Create a connection pool (with up to max_conn connections), where all connections will use the
    given connection string.
    """
    dsn_values = _dsn_connection_values(dsn_dict, application_name)
    return psycopg2.pool.ThreadedConnectionPool(1, max_conn, **dsn_values)
test_notify.py 文件源码 项目:flask 作者: bobohope 项目源码 文件源码 阅读 29 收藏 0 点赞 0 评论 0
def test_suite():
    return unittest.TestLoader().loadTestsFromName(__name__)


问题


面经


文章

微信
公众号

扫码关注公众号