Merge "fix tag regexp to match quoted groups correctly" into main
diff --git a/setup.cfg b/setup.cfg
index ddbe78c..09d84fd 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -75,7 +75,7 @@
 [tool:pytest]
 addopts= --tb native -v -r fxX -p warnings
 python_files=test/*test_*.py
-python_classes=*Test
+python_classes=*Test Test*
 filterwarnings =
     error::DeprecationWarning:test
     error::DeprecationWarning:mako
diff --git a/test/test_loop.py b/test/test_loop.py
index 19d40b5..d048ed0 100644
--- a/test/test_loop.py
+++ b/test/test_loop.py
@@ -1,4 +1,5 @@
 import re
+import unittest
 
 from mako import exceptions
 from mako.codegen import _FOR_LOOP
@@ -11,7 +12,7 @@
 from mako.testing.helpers import flatten_result
 
 
-class TestLoop:
+class TestLoop(unittest.TestCase):
     def test__FOR_LOOP(self):
         for statement, target_list, expression_list in (
             ("for x in y:", "x", "y"),
@@ -136,7 +137,7 @@
         )
 
 
-class TestLoopStack:
+class TestLoopStack(unittest.TestCase):
     def setUp(self):
         self.stack = LoopStack()
         self.bottom = "spam"
@@ -179,7 +180,7 @@
         assert before == (after + 1), "Exiting a context pops the stack"
 
 
-class TestLoopContext:
+class TestLoopContext(unittest.TestCase):
     def setUp(self):
         self.iterable = [1, 2, 3]
         self.ctx = LoopContext(self.iterable)