diff options
Diffstat (limited to 'tensorflow/contrib/specs/python/specs_test.py')
-rw-r--r-- | tensorflow/contrib/specs/python/specs_test.py | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/tensorflow/contrib/specs/python/specs_test.py b/tensorflow/contrib/specs/python/specs_test.py index 7004ca2e63..41782a9fc9 100644 --- a/tensorflow/contrib/specs/python/specs_test.py +++ b/tensorflow/contrib/specs/python/specs_test.py @@ -18,13 +18,6 @@ from __future__ import absolute_import from __future__ import division from __future__ import print_function -import sys - -# TODO: #6568 Remove this hack that makes dlopen() not crash. -if hasattr(sys, "getdlopenflags") and hasattr(sys, "setdlopenflags"): - import ctypes - sys.setdlopenflags(sys.getdlopenflags() | ctypes.RTLD_GLOBAL) - import numpy as np from tensorflow.contrib.specs import python |