Commits

Shu Zong Chen committed f8170ae

Implented a fake open command

Comments (0)

Files changed (1)

fakeos/fakeopen.py

+from contextlib import contextmanager
+from fakefile import FakeFile
+
+@contextmanager
+def open(filename):
+	yield FakeFile()