本文整理汇总了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;未经允许,请勿转载。 |
请发表评论