diff options
author | Guido van Rossum <guido@python.org> | 2001-01-17 03:12:01 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2001-01-17 03:12:01 (GMT) |
commit | e69d3d75874004db90718d535b9f97d27844f7c5 (patch) | |
tree | 59954c573d175f84cbb96028e9904256e2f18112 /Demo/embed | |
parent | 20ab9e9c0ac4e9a3081aa0400a46c0d3bacd30f5 (diff) | |
download | cpython-e69d3d75874004db90718d535b9f97d27844f7c5.zip cpython-e69d3d75874004db90718d535b9f97d27844f7c5.tar.gz cpython-e69d3d75874004db90718d535b9f97d27844f7c5.tar.bz2 |
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.
Diffstat (limited to 'Demo/embed')
0 files changed, 0 insertions, 0 deletions