#!/usr/bin/env python# -*- coding: utf-8 -*-"""Run all of the unit tests for this package."""from __future__ import print_functionimport sysimport pytesttry:import Systemexcept ImportError:print("Load clr import hook")import clrclr.AddReference("Python.Test")clr.AddReference("System.Collections")clr.AddReference("System.Data")clr.AddReference("System.Management")def main(verbosity=1):# test_module passes on its own, but not here if# other test modules that import System.Windows.Forms# run first. They must not do module level import/AddReference()# of the System.Windows.Forms namespace.# FIXME: test_engine has tests that are being skipped.# FIXME: test_subclass has tests that are being skipped.pytest.main()if __name__ == '__main__':main()if '--pause' in sys.argv:print("Press enter to continue")input()
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。