mirror of https://github.com/python/cpython
Force exit using os._exit instead of sys.exit,
this makes sure that the child does not continue testing.
This commit is contained in:
parent
3320696371
commit
91165c0b42
|
@ -461,7 +461,7 @@ class TestUUID(TestCase):
|
||||||
os.close(fds[0])
|
os.close(fds[0])
|
||||||
value = uuid.uuid4()
|
value = uuid.uuid4()
|
||||||
os.write(fds[1], value.hex)
|
os.write(fds[1], value.hex)
|
||||||
sys.exit(0)
|
os._exit(0)
|
||||||
|
|
||||||
else:
|
else:
|
||||||
os.close(fds[1])
|
os.close(fds[1])
|
||||||
|
|
Loading…
Reference in New Issue