From: Antoine Pitrou Date: Wed, 14 Oct 2009 17:34:31 +0000 (+0000) Subject: Fix a test_atexit failure when run with -3 X-Git-Tag: v2.7a1~359 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=868817eaf5a7ed4b92c486eb9dadd568b13e629c;p=thirdparty%2FPython%2Fcpython.git Fix a test_atexit failure when run with -3 --- diff --git a/Lib/test/test_atexit.py b/Lib/test/test_atexit.py index 0ff6e53bdc5d..bf85b7525361 100644 --- a/Lib/test/test_atexit.py +++ b/Lib/test/test_atexit.py @@ -2,6 +2,7 @@ import sys import unittest import StringIO import atexit +from imp import reload from test import test_support class TestCase(unittest.TestCase):