diff options
author | Georg Brandl <georg@python.org> | 2007-03-07 00:40:28 +0000 |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2007-03-07 00:40:28 +0000 |
commit | aa2321b0f8f8d51fe6aa1e8b9c81d989e642982d (patch) | |
tree | da24f798ec16aa968cfa6fed0f3844eb7e81b0e8 /Lib/test/test_unittest.py | |
parent | 49aafc9f2ce7d41be677cdefbcf0af6d9bd1e752 (diff) | |
download | cpython-git-aa2321b0f8f8d51fe6aa1e8b9c81d989e642982d.tar.gz |
Patch #703779: unset __file__ in __main__ after running a file. This
makes the filenames the warning module prints much more sensible when
a PYTHONSTARTUP file is used.
Diffstat (limited to 'Lib/test/test_unittest.py')
0 files changed, 0 insertions, 0 deletions