Tighten up some warning filters, and break some dependencies on the
order in which the tests are normally run.
diff --git a/Lib/test/test_regex.py b/Lib/test/test_regex.py
index b6260d2..0fe82b7 100644
--- a/Lib/test/test_regex.py
+++ b/Lib/test/test_regex.py
@@ -1,7 +1,7 @@
 from test_support import verbose, sortdict
 import warnings
 warnings.filterwarnings("ignore", "the regex module is deprecated",
-                        DeprecationWarning, __name__)
+                        DeprecationWarning, r'test_regex$')
 import regex
 from regex_syntax import *