Force exit using os._exit instead of sys.exit,

this makes sure that the child does not continue
testing.
This commit is contained in:
Ronald Oussoren 2010-05-05 15:32:39 +00:00
parent 3320696371
commit 91165c0b42
1 changed files with 1 additions and 1 deletions

View File

@ -461,7 +461,7 @@ class TestUUID(TestCase):
os.close(fds[0])
value = uuid.uuid4()
os.write(fds[1], value.hex)
sys.exit(0)
os._exit(0)
else:
os.close(fds[1])