diff --git a/tensorflow/python/distribute/distributed_file_utils_test.py b/tensorflow/python/distribute/distributed_file_utils_test.py index 92235b60d8d..3f68db999ce 100644 --- a/tensorflow/python/distribute/distributed_file_utils_test.py +++ b/tensorflow/python/distribute/distributed_file_utils_test.py @@ -67,7 +67,7 @@ class DistributedFileUtilsTest(test.TestCase): strategy = DistributedFileUtilsTest.MockedWorkerStrategy() self.assertEqual( distributed_file_utils.write_filepath(filepath, strategy), - os.path.join(dirpath, 'workertemp_3/foo.bar')) + os.path.join(dirpath, 'workertemp_3', 'foo.bar')) self.assertEqual( distributed_file_utils.write_dirpath(dirpath, strategy), os.path.join(dirpath, 'workertemp_3'))