From 6092ea8fa62191bf9ed8ebaae3125dcde9c4bbec Mon Sep 17 00:00:00 2001 From: Bruno Alla Date: Tue, 7 Mar 2017 21:00:43 +0000 Subject: Refs #27804 -- Used subTest() in several tests. --- tests/admin_docs/test_views.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tests/admin_docs') diff --git a/tests/admin_docs/test_views.py b/tests/admin_docs/test_views.py index 0915e01dc4..b9955717f4 100644 --- a/tests/admin_docs/test_views.py +++ b/tests/admin_docs/test_views.py @@ -339,4 +339,5 @@ class AdminDocViewFunctionsTests(SimpleTestCase): (r'^a/?$', '/a/'), ) for pattern, output in tests: - self.assertEqual(simplify_regex(pattern), output) + with self.subTest(pattern=pattern): + self.assertEqual(simplify_regex(pattern), output) -- cgit v1.3