From 91165c0b4213112c7706f83e1efc2cc5eb24d0ac Mon Sep 17 00:00:00 2001 From: Ronald Oussoren Date: Wed, 5 May 2010 15:32:39 +0000 Subject: [PATCH] Force exit using os._exit instead of sys.exit, this makes sure that the child does not continue testing. --- Lib/test/test_uuid.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/test/test_uuid.py b/Lib/test/test_uuid.py index d10195651c..e503084918 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]) -- 2.50.1