commit | e69d3d75874004db90718d535b9f97d27844f7c5 | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Wed Jan 17 03:12:01 2001 +0000 |
committer | Guido van Rossum <guido@python.org> | Wed Jan 17 03:12:01 2001 +0000 |
tree | 59954c573d175f84cbb96028e9904256e2f18112 | |
parent | 20ab9e9c0ac4e9a3081aa0400a46c0d3bacd30f5 [diff] |
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.