Internal change affecting Google filesystems.

PiperOrigin-RevId: 239026080
This commit is contained in:
A. Unique TensorFlower 2019-03-18 11:28:43 -07:00 committed by TensorFlower Gardener
parent 972c3280bc
commit 47cdde3e06

View File

@ -139,7 +139,7 @@ class FileIoTest(test.TestCase):
def testGetMatchingFiles(self): def testGetMatchingFiles(self):
dir_path = os.path.join(self._base_dir, "temp_dir") dir_path = os.path.join(self._base_dir, "temp_dir")
file_io.create_dir(dir_path) file_io.create_dir(dir_path)
files = ["file1.txt", "file2.txt", "file3.txt"] files = ["file1.txt", "file2.txt", "file3.txt", "file*.txt"]
for name in files: for name in files:
file_path = os.path.join(dir_path, name) file_path = os.path.join(dir_path, name)
file_io.FileIO(file_path, mode="w").write("testing") file_io.FileIO(file_path, mode="w").write("testing")