def check_get_extractors(self, test_file, expected, kinds=()):
    from extractcode import archive
    test_loc = self.get_test_loc(test_file)
    if kinds:
        extractors = archive.get_extractors(test_loc, kinds)
    else:
        extractors = archive.get_extractors(test_loc)
    fe = fileutils.file_extension(test_loc).lower()
    em = ', '.join((((e.__module__ + '.') + e.__name__) for e in extractors))
    msg = ('%(expected)r == %(extractors)r for %(test_file)s\nwith fe:%(fe)r, em:%(em)s' % locals())
    assert (expected == extractors), msg
def check_get_extractors(self, test_file, expected, kinds=()):
    from extractcode import archive
    test_loc = self.get_test_loc(test_file)
    if kinds:
        extractors = archive.get_extractors(test_loc, kinds)
    else:
        extractors = archive.get_extractors(test_loc)
    fe = fileutils.file_extension(test_loc).lower()
    em = ', '.join((((e.__module__ + '.') + e.__name__) for e in extractors))
    msg = ('%(expected)r == %(extractors)r for %(test_file)s\nwith fe:%(fe)r, em:%(em)s' % locals())
    assert (expected == extractors), msg