diff options
author | Bruno Alla <bruno.alla@founders4schools.org.uk> | 2017-03-07 21:00:43 +0000 |
---|---|---|
committer | Tim Graham <timograham@gmail.com> | 2017-05-24 08:36:34 -0400 |
commit | 6092ea8fa62191bf9ed8ebaae3125dcde9c4bbec (patch) | |
tree | 4da8346887b1c33e3b0a993eaf780687cdb239b0 /tests/admin_docs | |
parent | 91b2bc3e70be2632baad86488fb03cf02848b5b6 (diff) | |
download | django-6092ea8fa62191bf9ed8ebaae3125dcde9c4bbec.tar.gz |
Refs #27804 -- Used subTest() in several tests.
Diffstat (limited to 'tests/admin_docs')
-rw-r--r-- | tests/admin_docs/test_views.py | 3 |
1 files changed, 2 insertions, 1 deletions
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) |