mirror of https://github.com/python/cpython
tests: use subTest in test_unparse.test_files
This commit is contained in:
parent
feea6e7bcf
commit
d04e417b1e
|
@ -293,8 +293,9 @@ class DirectoryTestCase(ASTTestCase):
|
||||||
print(f'Skipping {filename}: see issue 27921')
|
print(f'Skipping {filename}: see issue 27921')
|
||||||
continue
|
continue
|
||||||
|
|
||||||
source = read_pyfile(filename)
|
with self.subTest(filename=filename):
|
||||||
self.check_roundtrip(source)
|
source = read_pyfile(filename)
|
||||||
|
self.check_roundtrip(source)
|
||||||
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
|
|
Loading…
Reference in New Issue