diff options
Diffstat (limited to 'Lib/warnings.py')
-rw-r--r-- | Lib/warnings.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/warnings.py b/Lib/warnings.py index 5b62569..c4bb22e 100644 --- a/Lib/warnings.py +++ b/Lib/warnings.py @@ -540,7 +540,7 @@ if not _warnings_defaults: # resource usage warnings are enabled by default in pydebug mode if dev_mode or py_debug: - resource_action = "always" + resource_action = "default" else: resource_action = "ignore" simplefilter(resource_action, category=ResourceWarning, append=1) |