commit | 91165c0b4213112c7706f83e1efc2cc5eb24d0ac | [log] [tgz] |
---|---|---|
author | Ronald Oussoren <ronaldoussoren@mac.com> | Wed May 05 15:32:39 2010 +0000 |
committer | Ronald Oussoren <ronaldoussoren@mac.com> | Wed May 05 15:32:39 2010 +0000 |
tree | ac39afd8c4e3e304667ff467ee63c8b3b2fbd85b | |
parent | 332069637162c46dbad433ef1b620742a56af430 [diff] [blame] |
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 d101956..e503084 100644 --- a/Lib/test/test_uuid.py +++ b/Lib/test/test_uuid.py
@@ -461,7 +461,7 @@ os.close(fds[0]) value = uuid.uuid4() os.write(fds[1], value.hex) - sys.exit(0) + os._exit(0) else: os.close(fds[1])