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

📄 testcase.py

📁 Python Development Environment (Python IDE plugin for Eclipse). Features editor, code completion, re
💻 PY
字号:
'''
This module is suited for code completion tests.

It features a TestCase class that should have all methods inherited from the original unittest plus 6 added methods.
'''
import unittest


class TestCase(unittest.TestCase):

    def assertImagesNotEqual(self, f1, f2, *args, **kwargs):
        pass
        
        
    assertBMPsNotEqual = assertImagesNotEqual

    def assertImagesEqual(self, f1, f2, *args, **kwargs):
        pass

    
    assertBMPsEqual = assertImagesEqual


    def failIfRaises(self, excClass, callableObj, *args, **kwargs):
        pass

    assertNotRaises = failIfRaises


⌨️ 快捷键说明

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