File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -2354,14 +2354,16 @@ class for all warnings. To check that no warning is returned,
2354
2354
Specifies whether warnings are ignored, displayed, or turned
2355
2355
into errors.
2356
2356
Valid values are:
2357
+
2357
2358
* "error" - turns matching warnings into exeptions
2358
2359
* "ignore" - discard the warning
2359
2360
* "always" - always emit a warning
2360
2361
* "default" - print the warning the first time it is generated
2361
- from each location
2362
+ from each location
2362
2363
* "module" - print the warning the first time it is generated
2363
- from each module
2364
+ from each module
2364
2365
* "once" - print the warning the first time it is generated
2366
+
2365
2367
clear : str, default None
2366
2368
If not ``None`` then remove any previously raised warnings from
2367
2369
the ``__warningsregistry__`` to ensure that no warning messages are
You can’t perform that action at this time.
0 commit comments