

def test_noperm_dir(self):
    dpath = os.path.join(self.temp, 'adir')
    path = os.path.join(self.temp, 'adir/afile')
    os.mkdir(dpath)
    os.chmod(path, stat.S_IRUSR)
    self.assertRaises(errors.BadArgumentFormat, self.run_conv, converters.file(mode='w'), path)

dataset/ETHPy150Open epsy/clize/clize/tests/test_converters.py FileConverterTests.test_noperm_dir/VarMisuse@51/67 `dpath`->`path`