⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 test.py

📁 subversion-1.4.3-1.tar.gz 配置svn的源码
💻 PY
字号:
#!/usr/bin/env python# -*- coding: iso8859-1 -*-## Copyright (C) 2003, 2004, 2005 Edgewall Software# Copyright (C) 2003, 2004, 2005 Jonas Borgstr鰉 <jonas@edgewall.com># Copyright (C) 2005 Christopher Lenz <cmlenz@gmx.de>## This software is licensed as described in the file# LICENSE_FOR_PYTHON_BINDINGS, which you should have received as part# of this distribution.  The terms are also available at# < http://subversion.tigris.org/license-for-python-bindings.html >.# If newer versions of this license are posted there, you may use a# newer version instead, at your option.## Author: Jonas Borgstr鰉 <jonas@edgewall.com>#         Christopher Lenz <cmlenz@gmx.de>import unittestclass TestSetup(unittest.TestSuite):    """    Test suite decorator that allows a fixture to be setup for a complete    suite of test cases.    """    def setUp(self):        pass    def tearDown(self):        pass    def __call__(self, result):        self.setUp()        unittest.TestSuite.__call__(self, result)        self.tearDown()        return result

⌨️ 快捷键说明

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