]> granicus.if.org Git - python/commitdiff
Force exit using os._exit instead of sys.exit,
authorRonald Oussoren <ronaldoussoren@mac.com>
Wed, 5 May 2010 15:32:39 +0000 (15:32 +0000)
committerRonald Oussoren <ronaldoussoren@mac.com>
Wed, 5 May 2010 15:32:39 +0000 (15:32 +0000)
this makes sure that the child does not continue
testing.

Lib/test/test_uuid.py

index d10195651c9ad65bfebc5c3a13cdff77587c10e2..e5030849184a56dc0092243ce618830f81a0355f 100644 (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])