summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRonald Oussoren <ronaldoussoren@mac.com>2010-05-05 15:32:39 (GMT)
committerRonald Oussoren <ronaldoussoren@mac.com>2010-05-05 15:32:39 (GMT)
commit91165c0b4213112c7706f83e1efc2cc5eb24d0ac (patch)
treeac39afd8c4e3e304667ff467ee63c8b3b2fbd85b
parent332069637162c46dbad433ef1b620742a56af430 (diff)
downloadcpython-91165c0b4213112c7706f83e1efc2cc5eb24d0ac.zip
cpython-91165c0b4213112c7706f83e1efc2cc5eb24d0ac.tar.gz
cpython-91165c0b4213112c7706f83e1efc2cc5eb24d0ac.tar.bz2
Force exit using os._exit instead of sys.exit,
this makes sure that the child does not continue testing.
-rw-r--r--Lib/test/test_uuid.py2
1 files changed, 1 insertions, 1 deletions
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 @@ 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])