• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

Python support.check__all__函数代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了Python中test.support.check__all__函数的典型用法代码示例。如果您正苦于以下问题:Python check__all__函数的具体用法?Python check__all__怎么用?Python check__all__使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。



在下文中一共展示了check__all__函数的14个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Python代码示例。

示例1: test__all__

 def test__all__(self):
     blacklist = {'bytes_types',
                  'UP_TO_NEWLINE', 'TAKEN_FROM_ARGUMENT1',
                  'TAKEN_FROM_ARGUMENT4', 'TAKEN_FROM_ARGUMENT4U',
                  'TAKEN_FROM_ARGUMENT8U', 'ArgumentDescriptor',
                  'read_uint1', 'read_uint2', 'read_int4', 'read_uint4',
                  'read_uint8', 'read_stringnl', 'read_stringnl_noescape',
                  'read_stringnl_noescape_pair', 'read_string1',
                  'read_string4', 'read_bytes1', 'read_bytes4',
                  'read_bytes8', 'read_unicodestringnl',
                  'read_unicodestring1', 'read_unicodestring4',
                  'read_unicodestring8', 'read_decimalnl_short',
                  'read_decimalnl_long', 'read_floatnl', 'read_float8',
                  'read_long1', 'read_long4',
                  'uint1', 'uint2', 'int4', 'uint4', 'uint8', 'stringnl',
                  'stringnl_noescape', 'stringnl_noescape_pair', 'string1',
                  'string4', 'bytes1', 'bytes4', 'bytes8',
                  'unicodestringnl', 'unicodestring1', 'unicodestring4',
                  'unicodestring8', 'decimalnl_short', 'decimalnl_long',
                  'floatnl', 'float8', 'long1', 'long4',
                  'StackObject',
                  'pyint', 'pylong', 'pyinteger_or_bool', 'pybool', 'pyfloat',
                  'pybytes_or_str', 'pystring', 'pybytes', 'pyunicode',
                  'pynone', 'pytuple', 'pylist', 'pydict', 'pyset',
                  'pyfrozenset', 'anyobject', 'markobject', 'stackslice',
                  'OpcodeInfo', 'opcodes', 'code2op',
                  }
     support.check__all__(self, pickletools, blacklist=blacklist)
开发者ID:1st1,项目名称:cpython,代码行数:28,代码来源:test_pickletools.py


示例2: test__all__

    def test__all__(self):
        blacklist = {
            "program", "Devnull", "DEBUGSTREAM", "NEWLINE", "COMMASPACE",
            "DATA_SIZE_DEFAULT", "usage", "Options", "parseargs",

        }
        support.check__all__(self, smtpd, blacklist=blacklist)
开发者ID:3lnc,项目名称:cpython,代码行数:7,代码来源:test_smtpd.py


示例3: test__all__

 def test__all__(self):
     blacklist = {'mdays', 'January', 'February', 'EPOCH',
                  'MONDAY', 'TUESDAY', 'WEDNESDAY', 'THURSDAY', 'FRIDAY',
                  'SATURDAY', 'SUNDAY', 'different_locale', 'c',
                  'prweek', 'week', 'format', 'formatstring', 'main',
                  'monthlen', 'prevmonth', 'nextmonth'}
     support.check__all__(self, calendar, blacklist=blacklist)
开发者ID:1st1,项目名称:cpython,代码行数:7,代码来源:test_calendar.py


示例4: test_check__all__

    def test_check__all__(self):
        extra = {'tempdir'}
        blacklist = {'template'}
        support.check__all__(self,
                             tempfile,
                             extra=extra,
                             blacklist=blacklist)

        extra = {'TextTestResult', 'installHandler'}
        blacklist = {'load_tests', "TestProgram", "BaseTestSuite"}

        support.check__all__(self,
                             unittest,
                             ("unittest.result", "unittest.case",
                              "unittest.suite", "unittest.loader",
                              "unittest.main", "unittest.runner",
                              "unittest.signals"),
                             extra=extra,
                             blacklist=blacklist)

        self.assertRaises(AssertionError, support.check__all__, self, unittest)
开发者ID:CCNITSilchar,项目名称:cpython,代码行数:21,代码来源:test_support.py


示例5: test__all__

 def test__all__(self):
     extra = {"ThreadError"}
     blacklist = {'currentThread', 'activeCount'}
     support.check__all__(self, threading, ('threading', '_thread'),
                          extra=extra, blacklist=blacklist)
开发者ID:cpcloud,项目名称:cpython,代码行数:5,代码来源:test_threading.py


示例6: test__all__

 def test__all__(self):
     extra = {'__doc__', '__version__'}
     support.check__all__(self, csv, ('csv', '_csv'), extra=extra)
开发者ID:CCNITSilchar,项目名称:cpython,代码行数:3,代码来源:test_csv.py


示例7: test__all__

 def test__all__(self):
     blacklist = {'MSG_OOB', 'FTP_PORT', 'MAXLINE', 'CRLF', 'B_CRLF',
                  'Error', 'parse150', 'parse227', 'parse229', 'parse257',
                  'print_line', 'ftpcp', 'test'}
     support.check__all__(self, ftplib, blacklist=blacklist)
开发者ID:3lnc,项目名称:cpython,代码行数:5,代码来源:test_ftplib.py


示例8: test__all__

 def test__all__(self):
     blacklist = {'c2py', 'ENOENT'}
     support.check__all__(self, gettext, blacklist=blacklist)
开发者ID:Eyepea,项目名称:cpython,代码行数:3,代码来源:test_gettext.py


示例9: test_all

 def test_all(self):
     blacklist = {"logfile", "logfp", "initlog", "dolog", "nolog",
                  "closelog", "log", "maxlen", "valid_boundary"}
     support.check__all__(self, cgi, blacklist=blacklist)
开发者ID:FFMG,项目名称:myoddweb.piger,代码行数:4,代码来源:test_cgi.py


示例10: test__all__

 def test__all__(self):
     blacklist = {"PlistFormat", "PLISTHEADER"}
     support.check__all__(self, plistlib, blacklist=blacklist)
开发者ID:asvetlov,项目名称:cpython,代码行数:3,代码来源:test_plistlib.py


示例11: test__all__

 def test__all__(self):
     support.check__all__(self, mimetypes)
开发者ID:Eyepea,项目名称:cpython,代码行数:2,代码来源:test_mimetypes.py


示例12: test__all__

 def test__all__(self):
     blacklist = {'WAVE_FORMAT_PCM'}
     support.check__all__(self, wave, blacklist=blacklist)
开发者ID:1st1,项目名称:cpython,代码行数:3,代码来源:test_wave.py


示例13: test_all

 def test_all(self):
     support.check__all__(self, fileinput)
开发者ID:3lnc,项目名称:cpython,代码行数:2,代码来源:test_fileinput.py


示例14: test_all

 def test_all(self):
     blacklist = {'DEFAULT_BUFSIZE'}
     support.check__all__(self, fileinput, blacklist=blacklist)
开发者ID:Ali-Razmjoo,项目名称:cpython,代码行数:3,代码来源:test_fileinput.py



注:本文中的test.support.check__all__函数示例由纯净天空整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
Python support.check_impl_detail函数代码示例发布时间:2022-05-27
下一篇:
Python support.change_cwd函数代码示例发布时间:2022-05-27
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap