diff options
author | Heng Liu <liucougar@gmail.com> | 2011-11-03 17:32:24 -0700 |
---|---|---|
committer | Heng Liu <liucougar@gmail.com> | 2011-11-03 17:32:24 -0700 |
commit | 047aaa3ac7b05f12c4c6b81dbab153a6cfbc918f (patch) | |
tree | 9c537c5c432b79d1b1e34bd9bf7f0b6da15dfeed /functional_tests | |
parent | 8318349981691a7d01eba9431d0926377cb89ed6 (diff) | |
download | nose-047aaa3ac7b05f12c4c6b81dbab153a6cfbc918f.tar.gz |
fix jenkins test failure
Diffstat (limited to 'functional_tests')
-rw-r--r-- | functional_tests/test_multiprocessing/support/keyboardinterrupt.py | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/functional_tests/test_multiprocessing/support/keyboardinterrupt.py b/functional_tests/test_multiprocessing/support/keyboardinterrupt.py index eeffd4a..988d1eb 100644 --- a/functional_tests/test_multiprocessing/support/keyboardinterrupt.py +++ b/functional_tests/test_multiprocessing/support/keyboardinterrupt.py @@ -1,18 +1,16 @@ from tempfile import mktemp from time import sleep +logfile = mktemp() +print "tempfile is:",logfile + def log(w): f = open(logfile, 'a') f.write(w+"\n") f.close() #make sure all tests in this file are dispatched to the same subprocess def setup(): - global logfile - logfile = mktemp() - print "tempfile is:",logfile - log('setup') - pass def test_timeout(): log('test_timeout') |