'By default, C{mimetypes.init} is called.'

def test_usesGlobalInitFunction(self):

    if _PY3:
        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)
