tests: use subTest in test_unparse.test_files

This commit is contained in:
Yury Selivanov 2016-09-09 11:14:59 -07:00
parent feea6e7bcf
commit d04e417b1e
1 changed files with 3 additions and 2 deletions

View File

@ -293,6 +293,7 @@ class DirectoryTestCase(ASTTestCase):
print(f'Skipping {filename}: see issue 27921') print(f'Skipping {filename}: see issue 27921')
continue continue
with self.subTest(filename=filename):
source = read_pyfile(filename) source = read_pyfile(filename)
self.check_roundtrip(source) self.check_roundtrip(source)