summaryrefslogtreecommitdiffstats
path: root/Lib/test/output
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2002-07-16 19:30:59 (GMT)
committerTim Peters <tim.peters@gmail.com>2002-07-16 19:30:59 (GMT)
commit012b69cb30761f500103ec66cb8f8229ca017a94 (patch)
tree7a9afcb1f28b4fe37984dbe20f211e69211af6a0 /Lib/test/output
parent32a03967b7b233d168d9c18d53436bc98a25edf9 (diff)
downloadcpython-012b69cb30761f500103ec66cb8f8229ca017a94.zip
cpython-012b69cb30761f500103ec66cb8f8229ca017a94.tar.gz
cpython-012b69cb30761f500103ec66cb8f8229ca017a94.tar.bz2
The atexit module effectively turned itself off if sys.exitfunc already
existed at the time atexit first got imported. That's a bug, and this fixes it. Also reworked test_atexit.py to test for this too, and to stop using an "expected output" file, and to test what actually happens at exit instead of just simulating what it thinks atexit will do at exit. Bugfix candidate, but it's messy so I'll backport to 2.2 myself.
Diffstat (limited to 'Lib/test/output')
-rw-r--r--Lib/test/output/test_atexit4
1 files changed, 0 insertions, 4 deletions
diff --git a/Lib/test/output/test_atexit b/Lib/test/output/test_atexit
deleted file mode 100644
index 1cc01de..0000000
--- a/Lib/test/output/test_atexit
+++ /dev/null
@@ -1,4 +0,0 @@
-test_atexit
-handler2 (7,) {'kw': 'abc'}
-handler2 () {}
-handler1