unittest.TestLoader

class unittest.TestLoader The TestLoader class is used to create test suites from classes and modules. Normally, there is no need to create an instance of this class; the unittest module provides an instance that can be shared as unittest.defaultTestLoader. Using a subclass or instance, however, allows customization of some configurable properties. TestLoader objects have the following attributes: errors A list of the non-fatal errors encountered while loading tests. Not reset by the load

gc.garbage

gc.garbage A list of objects which the collector found to be unreachable but could not be freed (uncollectable objects). Starting with Python 3.4, this list should be empty most of the time, except when using instances of C extension types with a non-NULL tp_del slot. If DEBUG_SAVEALL is set, then all unreachable objects will be added to this list rather than freed. Changed in version 3.2: If this list is non-empty at interpreter shutdown, a ResourceWarning is emitted, which is silent by de

str.ljust()

str.ljust(width[, fillchar]) Return the string left justified in a string of length width. Padding is done using the specified fillchar (default is an ASCII space). The original string is returned if width is less than or equal to len(s).

logging.exception()

logging.exception(msg, *args, **kwargs) Logs a message with level ERROR on the root logger. The arguments are interpreted as for debug(). Exception info is added to the logging message. This function should only be called from an exception handler.

email.policy.EmailPolicy.header_max_count()

header_max_count(name) Returns the value of the max_count attribute of the specialized class used to represent the header with the given name.

socketserver.ForkingUDPServer

class socketserver.ForkingUDPServer class socketserver.ThreadingTCPServer class socketserver.ThreadingUDPServer These classes are pre-defined using the mix-in classes.

http.server.BaseHTTPRequestHandler.headers

headers Holds an instance of the class specified by the MessageClass class variable. This instance parses and manages the headers in the HTTP request. The parse_headers() function from http.client is used to parse the headers and it requires that the HTTP request provide a valid RFC 2822 style header.

filecmp.dircmp.common_dirs

common_dirs Subdirectories in both a and b.

importlib.machinery.SourcelessFileLoader.path

path The path to the bytecode file.

pipes.Template.append()

Template.append(cmd, kind) Append a new action at the end. The cmd variable must be a valid bourne shell command. The kind variable consists of two letters. The first letter can be either of '-' (which means the command reads its standard input), 'f' (which means the commands reads a given file on the command line) or '.' (which means the commands reads no input, and hence must be first.) Similarly, the second letter can be either of '-' (which means the command writes to standard output), '