summaryrefslogtreecommitdiffhomepage
path: root/test/test_python_atexit.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_python_atexit.py')
-rw-r--r--test/test_python_atexit.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test_python_atexit.py b/test/test_python_atexit.py
index be45d113..82fa9a39 100644
--- a/test/test_python_atexit.py
+++ b/test/test_python_atexit.py
@@ -22,7 +22,7 @@ atexit.register(create_file)
def application(env, start_response):
start_response('200 OK', [('Content-Type','text/html')])
- return [b'body']
+ return []
""" % (self.testdir + '/atexit'), 'py_app'
@@ -55,7 +55,7 @@ def application(env, start_response):
}
""")
- time.sleep(0.2)
+ time.sleep(0.2) # wait for 'atexit' file
self.assertEqual(os.path.exists(self.testdir + '/atexit'), True,
'python atexit')