def test_usesGlobalInitFunction(self):
    '\n        By default, C{mimetypes.init} is called.\n        '
    if getattr(inspect, 'signature', None):
        signature = inspect.signature(static.loadMimeTypes)
        self.assertIs(signature.parameters['init'].default, mimetypes.init)
    else:
        (args, _, _, defaults) = inspect.getargspec(static.loadMimeTypes)
        defaultInit = defaults[args.index('init')]
        self.assertIs(defaultInit, mimetypes.init)
By default, C{mimetypes.init} is called.
def test_usesGlobalInitFunction(self):
    '\n        \n        '
    if getattr(inspect, 'signature', None):
        signature = inspect.signature(static.loadMimeTypes)
        self.assertIs(signature.parameters['init'].default, mimetypes.init)
    else:
        (args, _, _, defaults) = inspect.getargspec(static.loadMimeTypes)
        defaultInit = defaults[args.index('init')]
        self.assertIs(defaultInit, mimetypes.init)