From: Ronald Oussoren Date: Wed, 5 May 2010 15:32:39 +0000 (+0000) Subject: Force exit using os._exit instead of sys.exit, X-Git-Tag: v2.7b2~83 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=91165c0b4213112c7706f83e1efc2cc5eb24d0ac;p=thirdparty%2FPython%2Fcpython.git Force exit using os._exit instead of sys.exit, this makes sure that the child does not continue testing. --- diff --git a/Lib/test/test_uuid.py b/Lib/test/test_uuid.py index d10195651c9a..e5030849184a 100644 --- a/Lib/test/test_uuid.py +++ b/Lib/test/test_uuid.py @@ -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])