mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-11-26 11:28:51 -06:00
refactor: public names for cross-module reads
This commit is contained in:
1 parent
f371790dc6
commit
3853ca2f1c
254 files changed
+2955
-2969
No files matched your search
@@ -222,7 +222,7 @@ class ScratchFilesGetThePlainMode(unittest.TestCase):
|
||||
from packs import finalize
|
||||
|
||||
pack = self.dir / "Pack.zip"
|
||||
with archive._writing_pack(str(pack)) as zf:
|
||||
with archive.writing_pack(str(pack)) as zf:
|
||||
zf.writestr("a.bin", b"x")
|
||||
self.assertEqual(self._mode(pack), 0o644)
|
||||
os.chmod(pack, 0o600)
|
||||
@@ -315,9 +315,9 @@ class ATerminatedBuildLeavesNoScratch(unittest.TestCase):
|
||||
"import sys, time\n"
|
||||
"sys.path.insert(0, 'scripts')\n"
|
||||
"from core.cli import run_cli\n"
|
||||
"from packs.archive import _writing_pack\n"
|
||||
"from packs.archive import writing_pack\n"
|
||||
"def main():\n"
|
||||
" with _writing_pack(sys.argv[1]) as zf:\n"
|
||||
" with writing_pack(sys.argv[1]) as zf:\n"
|
||||
" zf.writestr('a.bin', b'x')\n"
|
||||
" print('writing', flush=True)\n"
|
||||
" time.sleep(60)\n"
|
||||
|
||||
Reference in new issue
Block a user