def METHOD_NAME(self):
    sf0 = set(self.files)
    with warnings.catch_warnings():
        warnings.simplefilter("ignore", DeprecationWarning)
        f1 = os.listdir(support.TESTFN.encode(sys.getfilesystemencoding()))
    f2 = os.listdir(support.TESTFN)
    sf2 = set(os.path.join(support.TESTFN, f) for f in f2)
    self.assertEqual(sf0, sf2, "%a != %a" % (sf0, sf2))
    self.assertEqual(len(f1), len(f2))