We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
import shutil import pyfakefs.fake_filesystem import os ROOT_PATH = "/Volumes/ramdisk/test" fs = pyfakefs.fake_filesystem.FakeFilesystem() fs.CreateDirectory('/Volumes') fs.CreateDirectory('/Volumes/ramdisk') fs.CreateDirectory('/Volumes/ramdisk/test') os0 = pyfakefs.fake_filesystem.FakeOsModule(fs) opener0 = pyfakefs.fake_filesystem.FakeFileOpen(fs) if False: os0 = os shutil.rmtree(ROOT_PATH) os.mkdir(ROOT_PATH) opener0 = open path0 = ROOT_PATH path0 += os.path.sep + component0 bytes0 = 0 bytes0 += 1 str0 = "" str0 += 'a' str0 += 'a' file0 = opener0(path0,'a') file0.write(str0) file0.seek(bytes0) result = file0.tell() print result
2 for pyfakefs, 1 for OS
The text was updated successfully, but these errors were encountered:
Again the same code involved... I really have to rethink that part.
Sorry, something went wrong.
cc1a3e1
No branches or pull requests
2 for pyfakefs, 1 for OS
The text was updated successfully, but these errors were encountered: