def test_directories(self):
    ext = '.dir'
    self._do_directory((TESTFN_UNICODE + ext), (TESTFN_UNICODE + ext))
    if (TESTFN_UNENCODABLE is not None):
        self._do_directory((TESTFN_UNENCODABLE + ext), (TESTFN_UNENCODABLE + ext))
def test_directories(self):
    ext = '.dir'
    self._do_directory((TESTFN_UNICODE + ext), (TESTFN_UNICODE + ext))
    if (TESTFN_UNENCODABLE is not None):
        self._do_directory((TESTFN_UNENCODABLE + ext), (TESTFN_UNENCODABLE + ext))