mirror of
https://github.com/django/django.git
synced 2025-10-23 21:59:11 +00:00
Refs #27804 -- Used subTest() in several tests.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user