summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrett Cannon <brett@python.org>2016-09-09 18:19:16 (GMT)
committerBrett Cannon <brett@python.org>2016-09-09 18:19:16 (GMT)
commit6982a4f8f0339434fd8b8b0792f34f1426e70dfd (patch)
tree82906e97922c7c49cbc9623271d1fd30f58ea36e
parent6760c690227cc915c5e721c0e5b1a0ba9a94e20e (diff)
parentd04e417b1e892f35a26b23b7be6e68ea3cc945f5 (diff)
downloadcpython-6982a4f8f0339434fd8b8b0792f34f1426e70dfd.zip
cpython-6982a4f8f0339434fd8b8b0792f34f1426e70dfd.tar.gz
cpython-6982a4f8f0339434fd8b8b0792f34f1426e70dfd.tar.bz2
Merge
-rw-r--r--Lib/test/test_tools/test_unparse.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/Lib/test/test_tools/test_unparse.py b/Lib/test/test_tools/test_unparse.py
index 517f261..ed0001a 100644
--- a/Lib/test/test_tools/test_unparse.py
+++ b/Lib/test/test_tools/test_unparse.py
@@ -293,8 +293,9 @@ class DirectoryTestCase(ASTTestCase):
print(f'Skipping {filename}: see issue 27921')
continue
- source = read_pyfile(filename)
- self.check_roundtrip(source)
+ with self.subTest(filename=filename):
+ source = read_pyfile(filename)
+ self.check_roundtrip(source)
if __name__ == '__main__':