mirror of https://github.com/tLDP/python-tldp
pep8 fixes
This commit is contained in:
parent
2974c6b5d7
commit
247019e646
|
@ -161,12 +161,12 @@ class Test_statfiles(unittest.TestCase):
|
||||||
class Test_statfile(TestToolsFilesystem):
|
class Test_statfile(TestToolsFilesystem):
|
||||||
|
|
||||||
def test_statfile_bogustype(self):
|
def test_statfile_bogustype(self):
|
||||||
with self.assertRaises(TypeError) as ecm:
|
with self.assertRaises(TypeError):
|
||||||
statfile(0)
|
statfile(0)
|
||||||
|
|
||||||
def test_statfile_enoent(self):
|
def test_statfile_enoent(self):
|
||||||
f = ntf(dir=self.tempdir)
|
f = ntf(dir=self.tempdir)
|
||||||
st = statfile(f.name + '-ENOENT_TEST')
|
self.assertIsNone(statfile(f.name + '-ENOENT_TEST'))
|
||||||
|
|
||||||
|
|
||||||
class Test_stem_and_ext(unittest.TestCase):
|
class Test_stem_and_ext(unittest.TestCase):
|
||||||
|
|
Loading…
Reference in New Issue