]> granicus.if.org Git - python/commit
Use __name__ instead of "test_regex" as the module name in the
authorGuido van Rossum <guido@python.org>
Wed, 17 Jan 2001 03:12:01 +0000 (03:12 +0000)
committerGuido van Rossum <guido@python.org>
Wed, 17 Jan 2001 03:12:01 +0000 (03:12 +0000)
commite69d3d75874004db90718d535b9f97d27844f7c5
tree59954c573d175f84cbb96028e9904256e2f18112
parent20ab9e9c0ac4e9a3081aa0400a46c0d3bacd30f5
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.
Lib/test/test_regex.py