mirror of https://github.com/tLDP/python-tldp
pep8/pyflakes fixes
This commit is contained in:
parent
abbd433ea1
commit
2180755a97
|
@ -66,7 +66,7 @@ ex_docbooksgml_dir = Namespace(
|
|||
'DocBookSGML-Larger.sgml'),
|
||||
)
|
||||
|
||||
unknown_doctype = Namespace(
|
||||
unknown_doctype = Namespace(
|
||||
doctype=None,
|
||||
filename=opj(sampledocs, 'Unknown-Doctype.xqf'),
|
||||
)
|
||||
|
|
|
@ -225,7 +225,7 @@ class Test_swapdirs(TestToolsFilesystem):
|
|||
swapdirs(a, b)
|
||||
self.assertTrue(os.path.exists(b))
|
||||
|
||||
def test_swapdirs_b_missing(self):
|
||||
def test_swapdirs_with_file(self):
|
||||
a = mkdtemp(dir=self.tempdir)
|
||||
afile = os.path.join(a, 'silly')
|
||||
b = mkdtemp(dir=self.tempdir)
|
||||
|
@ -242,6 +242,7 @@ class Test_swapdirs(TestToolsFilesystem):
|
|||
self.assertTrue(os.path.exists(b))
|
||||
self.assertTrue(os.path.exists(bfile))
|
||||
|
||||
|
||||
class Test_att_statinfo(unittest.TestCase):
|
||||
|
||||
def test_max_mtime(self):
|
||||
|
|
Loading…
Reference in New Issue