File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 1313# Normally '_wm' is sys.modules['warnings'] but for unit tests it can be
1414# a different module. User code is allowed to reassign global attributes
1515# of the 'warnings' module, commonly 'filters' or 'showwarning'. So we
16- # need to lookup these global attributes dynamically on the '_wn ' object,
16+ # need to lookup these global attributes dynamically on the '_wm ' object,
1717# rather than binding them earlier. The code in this module consistently uses
18- # '_wn .<something>' rather than using the globals of this module. If the
18+ # '_wm .<something>' rather than using the globals of this module. If the
1919# '_warnings' C extension is in use, some globals are replaced by functions
2020# and variables defined in that extension.
2121_wm = None
You can’t perform that action at this time.
0 commit comments