コード例 #1
0
 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)
コード例 #2
0
    def test__all__(self):
        blacklist = {
            "program", "Devnull", "DEBUGSTREAM", "NEWLINE", "COMMASPACE",
            "DATA_SIZE_DEFAULT", "usage", "Options", "parseargs",

        }
        support.check__all__(self, smtpd, blacklist=blacklist)
コード例 #3
0
    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)
コード例 #4
0
 def test__all__(self):
     blacklist = {'WAVE_FORMAT_PCM'}
     support.check__all__(self, wave, blacklist=blacklist)
コード例 #5
0
 def test__all__(self):
     blacklist = {"PlistFormat", "PLISTHEADER"}
     support.check__all__(self, plistlib, blacklist=blacklist)
コード例 #6
0
 def test__all__(self):
     support.check__all__(self, mimetypes)
コード例 #7
0
 def test__all__(self):
     blacklist = {'c2py', 'ENOENT'}
     support.check__all__(self, gettext, blacklist=blacklist)
コード例 #8
0
 def test__all__(self):
     extra = {'__doc__', '__version__'}
     support.check__all__(self, csv, ('csv', '_csv'), extra=extra)
コード例 #9
0
 def test_all(self):
     blacklist = {
         "logfile", "logfp", "initlog", "dolog", "nolog", "closelog", "log",
         "maxlen", "valid_boundary"
     }
     support.check__all__(self, cgi, blacklist=blacklist)
コード例 #10
0
 def test_all(self):
     support.check__all__(self, fileinput)
コード例 #11
0
 def test__all__(self):
     blacklist = {'mdays', 'January', 'February', 'EPOCH',
                  'MONDAY', 'TUESDAY', 'WEDNESDAY', 'THURSDAY', 'FRIDAY',
                  'SATURDAY', 'SUNDAY', 'different_locale', 'c',
                  'prweek', 'week', 'format', 'formatstring', 'main'}
     support.check__all__(self, calendar, blacklist=blacklist)
コード例 #12
0
 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)