a807755db184c2d2c3b9bcca65457e9915508650 |
|
29-Jan-2018 |
Skye Wanderman-Milne <skyewm@google.com> |
Use Popen.communicate() instead of read() in stacktrace_handler_test.py. This avoids potential deadlock, see the warnings in https://docs.python.org/2/library/subprocess.html#popen-objects. I found that enabling the C API caused us to deadlock without this change. PiperOrigin-RevId: 183730170
/external/tensorflow/tensorflow/python/platform/stacktrace_handler_test.py
|