Use __name__ instead of "test_regex" as the module name in the
warnings.filterwarnings() call. This suppresses the warning when the module is imported with its full name (test.test_regex) too.
Showing
Please
register
or
sign in
to comment