aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/tools/test/check_futures_test.py
diff options
context:
space:
mode:
Diffstat (limited to 'tensorflow/tools/test/check_futures_test.py')
-rw-r--r--tensorflow/tools/test/check_futures_test.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tensorflow/tools/test/check_futures_test.py b/tensorflow/tools/test/check_futures_test.py
index 1c07511888..9181c9bd4a 100644
--- a/tensorflow/tools/test/check_futures_test.py
+++ b/tensorflow/tools/test/check_futures_test.py
@@ -33,7 +33,7 @@ import re
import six
-BASE_DIR = os.path.normpath(os.path.join(__file__, '../../..'))
+BASE_DIR = os.path.abspath(os.path.join(os.path.dirname(__file__), '../..'))
FUTURES_PATTERN = re.compile(r'^from __future__ import (\w+)\s*$')
FUTURES_PATTERN_2 = re.compile(
r'^from __future__ import (\w+), (\w+), (\w+)\s*$')