Issue 917108: warnings.py does not define _test() (original) (raw)

Issue917108

Created on 2004-03-16 05:59 by aahz, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (2)
msg20242 - (view) Author: Aahz (aahz) * (Python triager) Date: 2004-03-16 05:59
At the bottom of warnings.py, there's a call to _test() if run as a script. However, _test() is neither defined nor imported.
msg20243 - (view) Author: Tim Peters (tim.peters) * (Python committer) Date: 2004-03-21 17:16
Logged In: YES user_id=31435 Fixed, by removing the entire __name__ == '__main__' block. Lib/warnings.py; new revision: 1.23
History
Date User Action Args
2022-04-11 14:56:03 admin set github: 40037
2004-03-16 05:59:44 aahz create