Commits

Shu Zong Chen committed f8170ae

Implented a fake open command

  • Participants
  • Parent commits 549f168

Comments (0)

Files changed (1)

fakeos/fakeopen.py

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