diff options
author | Guido van Rossum <guido@python.org> | 2000-11-13 17:11:45 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2000-11-13 17:11:45 (GMT) |
commit | 56baca328f7c018c4ae776dd87f44a145f502773 (patch) | |
tree | aa5418fee3c046353db47491d1746a523402fa2e /Lib/dos-8x3/test_ate.py | |
parent | f6fc875831d0cfbf4077b4d2e1800365a78f7c2e (diff) | |
download | cpython-56baca328f7c018c4ae776dd87f44a145f502773.zip cpython-56baca328f7c018c4ae776dd87f44a145f502773.tar.gz cpython-56baca328f7c018c4ae776dd87f44a145f502773.tar.bz2 |
Removing DOS 8x3 support
Diffstat (limited to 'Lib/dos-8x3/test_ate.py')
-rw-r--r-- | Lib/dos-8x3/test_ate.py | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/Lib/dos-8x3/test_ate.py b/Lib/dos-8x3/test_ate.py deleted file mode 100644 index 517610b..0000000 --- a/Lib/dos-8x3/test_ate.py +++ /dev/null @@ -1,24 +0,0 @@ -# Test the exit module -from test_support import verbose -import atexit - -def handler1(): - print "handler1" - -def handler2(*args, **kargs): - print "handler2", args, kargs - -# save any exit functions that may have been registered as part of the -# test framework -_exithandlers = atexit._exithandlers -atexit._exithandlers = [] - -atexit.register(handler1) -atexit.register(handler2) -atexit.register(handler2, 7, kw="abc") - -# simulate exit behavior by calling atexit._run_exitfuncs directly... -atexit._run_exitfuncs() - -# restore exit handlers -atexit._exithandlers = _exithandlers |