MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / testEmptyFilename

Method testEmptyFilename

tensorflow/python/lib/io/file_io_test.py:40–43  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

38 file_io.delete_recursively(self._base_dir)
39
40 def testEmptyFilename(self):
41 f = file_io.FileIO("", mode="r")
42 with self.assertRaises(errors.NotFoundError):
43 _ = f.read()
44
45 def testFileDoesntExist(self):
46 file_path = os.path.join(self._base_dir, "temp_file")

Callers

nothing calls this directly

Calls 1

readMethod · 0.95

Tested by

no test coverage detected