diff --git a/tensorflow/python/lib/io/file_io_test.py b/tensorflow/python/lib/io/file_io_test.py index 0ece84c08dc..f53c5fa792e 100644 --- a/tensorflow/python/lib/io/file_io_test.py +++ b/tensorflow/python/lib/io/file_io_test.py @@ -139,7 +139,7 @@ class FileIoTest(test.TestCase): def testGetMatchingFiles(self): dir_path = os.path.join(self._base_dir, "temp_dir") 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: file_path = os.path.join(dir_path, name) file_io.FileIO(file_path, mode="w").write("testing")