mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-11-11 12:33:53 -06:00
fix: isolate every test module however it runs
tests/__init__.py keeps a run offline, its scratch under tmp/ and its installer cache its own, but only discover -s tests -t . imported it. discover tests ran with RETROBIOS_OFFLINE unset, scratch on the /tmp tmpfs and the user's real installer cache, the setting in which e2e fixtures had written into the shared .cache/large. Every test module now imports the package first, and a test fails on a module that does not. test_verify_listing.py took its line with the previous commit.
This commit is contained in:
1 parent
7dcb427e27
commit
057fd2d0f6
250 files changed
+546
-2
No files matched your search
@@ -9,6 +9,8 @@ corrected it later, every other reader of the resolution did not.
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import tests # noqa: F401 offline, scratch under tmp/, the suite's own cache
|
||||
|
||||
import hashlib
|
||||
import json
|
||||
import shutil
|
||||
|
||||
@@ -12,6 +12,8 @@ BIOS root of platforms that do not run that emulator.
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import tests # noqa: F401 offline, scratch under tmp/, the suite's own cache
|
||||
|
||||
import hashlib
|
||||
import sys
|
||||
import tempfile
|
||||
|
||||
@@ -8,6 +8,8 @@ libretro core, while verify set the entry aside. Reads the repository.
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import tests # noqa: F401 offline, scratch under tmp/, the suite's own cache
|
||||
|
||||
import os
|
||||
import sys
|
||||
import unittest
|
||||
|
||||
@@ -9,6 +9,8 @@ was not where it looks.
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import tests # noqa: F401 offline, scratch under tmp/, the suite's own cache
|
||||
|
||||
import hashlib
|
||||
import os
|
||||
import sys
|
||||
|
||||
@@ -7,6 +7,8 @@ the slot missing and the manifest omitted it.
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import tests # noqa: F401 offline, scratch under tmp/, the suite's own cache
|
||||
|
||||
import re
|
||||
import sys
|
||||
import tempfile
|
||||
|
||||
@@ -8,6 +8,8 @@ the firmware of cores its image never had.
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import tests # noqa: F401 offline, scratch under tmp/, the suite's own cache
|
||||
|
||||
import sys
|
||||
import unittest
|
||||
from pathlib import Path
|
||||
|
||||
@@ -2,6 +2,8 @@
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import tests # noqa: F401 offline, scratch under tmp/, the suite's own cache
|
||||
|
||||
import io
|
||||
import json
|
||||
import tempfile
|
||||
|
||||
@@ -7,6 +7,8 @@ seven of the eight members Batocera checks were missing.
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import tests # noqa: F401 offline, scratch under tmp/, the suite's own cache
|
||||
|
||||
import hashlib
|
||||
import os
|
||||
import shutil
|
||||
|
||||
@@ -9,6 +9,8 @@ those members were never read there, and the archive matched no recipe.
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import tests # noqa: F401 offline, scratch under tmp/, the suite's own cache
|
||||
|
||||
import hashlib
|
||||
import sys
|
||||
import unittest
|
||||
|
||||
@@ -7,6 +7,8 @@ ZIPs, which surfaces as BadZipFile far from its cause.
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import tests # noqa: F401 offline, scratch under tmp/, the suite's own cache
|
||||
|
||||
import os
|
||||
import subprocess
|
||||
import sys
|
||||
|
||||
@@ -8,6 +8,8 @@ path in bios/: a scan running beside the copy hashed the truncated file.
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import tests # noqa: F401 offline, scratch under tmp/, the suite's own cache
|
||||
|
||||
import os
|
||||
import sys
|
||||
import tempfile
|
||||
|
||||
@@ -2,6 +2,8 @@
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import tests # noqa: F401 offline, scratch under tmp/, the suite's own cache
|
||||
|
||||
import ast
|
||||
import contextlib
|
||||
import hashlib
|
||||
@@ -253,6 +255,46 @@ class AModuleRunAloneHasItsScratchDirectory(unittest.TestCase):
|
||||
self.assertEqual(proc.stdout.split(), [scratch, scratch])
|
||||
|
||||
|
||||
class EveryTestModuleImportsTheIsolation(unittest.TestCase):
|
||||
"""tests/__init__.py keeps a run offline, its scratch under tmp/ and its
|
||||
installer cache its own, but only `discover -s tests -t .` imported it:
|
||||
`discover tests` ran with RETROBIOS_OFFLINE unset, scratch in /tmp and
|
||||
the user's real cache. Each module now imports the package first."""
|
||||
|
||||
def test_the_package_import_comes_before_any_other(self):
|
||||
missing = []
|
||||
for path in sorted((ROOT / "tests").glob("test_*.py")):
|
||||
body = ast.parse(path.read_text(encoding="utf-8")).body
|
||||
imports = [
|
||||
node for node in body
|
||||
if isinstance(node, (ast.Import, ast.ImportFrom))
|
||||
and getattr(node, "module", None) != "__future__"
|
||||
]
|
||||
first = imports[0] if imports else None
|
||||
if not (isinstance(first, ast.Import)
|
||||
and [alias.name for alias in first.names] == ["tests"]):
|
||||
missing.append(path.name)
|
||||
self.assertEqual(missing, [])
|
||||
|
||||
def test_discover_without_a_top_level_runs_isolated(self):
|
||||
env = {k: v for k, v in os.environ.items()
|
||||
if k not in ("RETROBIOS_OFFLINE", "TMPDIR", "RETROBIOS_CACHE")}
|
||||
proc = subprocess.run(
|
||||
[sys.executable, "-c",
|
||||
"import os, sys, tempfile, unittest\n"
|
||||
"unittest.TestLoader().discover('tests', pattern='test_artifact_lock.py')\n"
|
||||
"print(os.environ.get('RETROBIOS_OFFLINE'), tempfile.gettempdir(),"
|
||||
" os.environ.get('RETROBIOS_CACHE'))\n"],
|
||||
cwd=ROOT, env=env, capture_output=True, text=True, timeout=120,
|
||||
check=False,
|
||||
)
|
||||
self.assertEqual(proc.returncode, 0, proc.stderr)
|
||||
offline, scratch, cache = proc.stdout.split()
|
||||
self.assertEqual(offline, "1")
|
||||
self.assertEqual(scratch, str(ROOT / "tmp" / "tests"))
|
||||
self.assertEqual(cache, str(ROOT / "tmp" / "tests" / "cache"))
|
||||
|
||||
|
||||
class ReleaseSigningRegressions(unittest.TestCase):
|
||||
"""A checksum list published beside its own artifacts proves nothing.
|
||||
|
||||
|
||||
@@ -7,6 +7,8 @@ a function returning canned CI runs.
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import tests # noqa: F401 offline, scratch under tmp/, the suite's own cache
|
||||
|
||||
import contextlib
|
||||
import io
|
||||
import json
|
||||
|
||||
@@ -9,6 +9,8 @@ under it: amiberry, fsuae and vice were never in a target list.
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import tests # noqa: F401 offline, scratch under tmp/, the suite's own cache
|
||||
|
||||
import sys
|
||||
import unittest
|
||||
from pathlib import Path
|
||||
|
||||
@@ -9,6 +9,8 @@ a list, and verify accepts any listed md5.
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import tests # noqa: F401 offline, scratch under tmp/, the suite's own cache
|
||||
|
||||
import hashlib
|
||||
import sys
|
||||
import tempfile
|
||||
|
||||
@@ -9,6 +9,8 @@ the Batocera BIOS folder.
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import tests # noqa: F401 offline, scratch under tmp/, the suite's own cache
|
||||
|
||||
import sys
|
||||
import unittest
|
||||
from pathlib import Path
|
||||
|
||||
@@ -7,6 +7,8 @@ Oric and Tangerine: one machine, two folders, two pages.
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import tests # noqa: F401 offline, scratch under tmp/, the suite's own cache
|
||||
|
||||
import subprocess
|
||||
import unittest
|
||||
from pathlib import Path
|
||||
|
||||
@@ -13,6 +13,8 @@ entry is written with the hash of the file the emulator ships.
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import tests # noqa: F401 offline, scratch under tmp/, the suite's own cache
|
||||
|
||||
import hashlib
|
||||
import sys
|
||||
import unittest
|
||||
|
||||
@@ -10,6 +10,8 @@ directory cache is not a collection.
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import tests # noqa: F401 offline, scratch under tmp/, the suite's own cache
|
||||
|
||||
import os
|
||||
import sys
|
||||
import unittest
|
||||
|
||||
@@ -10,6 +10,8 @@ resume and rerun on a changed core.
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import tests # noqa: F401 offline, scratch under tmp/, the suite's own cache
|
||||
|
||||
import contextlib
|
||||
import hashlib
|
||||
import io
|
||||
|
||||
@@ -7,6 +7,8 @@ went red. The flag lived in retrobat.yml and vanished at the next scrape.
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import tests # noqa: F401 offline, scratch under tmp/, the suite's own cache
|
||||
|
||||
import contextlib
|
||||
import hashlib
|
||||
import io
|
||||
|
||||
@@ -2,6 +2,8 @@
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import tests # noqa: F401 offline, scratch under tmp/, the suite's own cache
|
||||
|
||||
import sys
|
||||
import unittest
|
||||
from pathlib import Path
|
||||
|
||||
@@ -8,6 +8,8 @@ report is folded, since each of those decides whether a row says STALE.
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import tests # noqa: F401 offline, scratch under tmp/, the suite's own cache
|
||||
|
||||
import json
|
||||
import os
|
||||
import sys
|
||||
|
||||
@@ -7,6 +7,8 @@ whose checksums every user's `sha256sum --check` rejected.
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import tests # noqa: F401 offline, scratch under tmp/, the suite's own cache
|
||||
|
||||
import sys
|
||||
import unittest
|
||||
from pathlib import Path
|
||||
|
||||
@@ -6,6 +6,8 @@ one. validate_schemas now refuses it.
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import tests # noqa: F401 offline, scratch under tmp/, the suite's own cache
|
||||
|
||||
import subprocess
|
||||
import sys
|
||||
import unittest
|
||||
|
||||
@@ -7,6 +7,8 @@ does not hold the file.
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import tests # noqa: F401 offline, scratch under tmp/, the suite's own cache
|
||||
|
||||
import re
|
||||
import sys
|
||||
import unittest
|
||||
|
||||
@@ -6,6 +6,8 @@ the repository, five on the site, under two different titles.
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import tests # noqa: F401 offline, scratch under tmp/, the suite's own cache
|
||||
|
||||
import re
|
||||
import sys
|
||||
import unittest
|
||||
|
||||
@@ -10,6 +10,8 @@ reader now gets the tree, or the profile says its package installs it.
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import tests # noqa: F401 offline, scratch under tmp/, the suite's own cache
|
||||
|
||||
import os
|
||||
import sys
|
||||
import unittest
|
||||
|
||||
@@ -8,6 +8,8 @@ frontend sees a file at the path. verify kept it MISSING, so the pack said
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import tests # noqa: F401 offline, scratch under tmp/, the suite's own cache
|
||||
|
||||
import hashlib
|
||||
import contextlib
|
||||
import io
|
||||
|
||||
@@ -7,6 +7,8 @@ probe on it: staging, the worker process, strace, the record and its schema.
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import tests # noqa: F401 offline, scratch under tmp/, the suite's own cache
|
||||
|
||||
import argparse
|
||||
import contextlib
|
||||
import hashlib
|
||||
|
||||
@@ -10,6 +10,8 @@ read one rule (validation.core_size_refusal).
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import tests # noqa: F401 offline, scratch under tmp/, the suite's own cache
|
||||
|
||||
import hashlib
|
||||
import os
|
||||
import sys
|
||||
|
||||
@@ -9,6 +9,8 @@ tests change an input and expect a fresh computation.
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import tests # noqa: F401 offline, scratch under tmp/, the suite's own cache
|
||||
|
||||
import sys
|
||||
import tempfile
|
||||
import unittest
|
||||
|
||||
@@ -9,6 +9,8 @@ a directory called ROM).
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import tests # noqa: F401 offline, scratch under tmp/, the suite's own cache
|
||||
|
||||
import sys
|
||||
import tempfile
|
||||
import unittest
|
||||
|
||||
@@ -7,6 +7,8 @@ contributor with none of them.
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import tests # noqa: F401 offline, scratch under tmp/, the suite's own cache
|
||||
|
||||
import ast
|
||||
import sys
|
||||
import unittest
|
||||
|
||||
@@ -18,6 +18,8 @@ Layouts, from Azahar src/core/hw/unique_data.cpp and src/core/file_sys/otp.cpp:
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import tests # noqa: F401 offline, scratch under tmp/, the suite's own cache
|
||||
|
||||
import hashlib
|
||||
import struct
|
||||
import sys
|
||||
|
||||
@@ -14,6 +14,8 @@ constants rather than against itself. The AES vector is from NIST SP 800-38A.
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import tests # noqa: F401 offline, scratch under tmp/, the suite's own cache
|
||||
|
||||
import hashlib
|
||||
import shutil
|
||||
import sys
|
||||
|
||||
@@ -6,6 +6,8 @@ verify only said "not cached" and refresh_data_dirs had nothing to fetch.
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import tests # noqa: F401 offline, scratch under tmp/, the suite's own cache
|
||||
|
||||
import sys
|
||||
import unittest
|
||||
from pathlib import Path
|
||||
|
||||
@@ -7,6 +7,8 @@ TypeError on the first loop.
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import tests # noqa: F401 offline, scratch under tmp/, the suite's own cache
|
||||
|
||||
import ast
|
||||
import unittest
|
||||
from pathlib import Path
|
||||
|
||||
@@ -8,6 +8,8 @@ disk ROM then served the CoCo one.
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import tests # noqa: F401 offline, scratch under tmp/, the suite's own cache
|
||||
|
||||
import os
|
||||
import sys
|
||||
import tempfile
|
||||
|
||||
@@ -8,6 +8,8 @@ set, enriched with every spelling the database knows.
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import tests # noqa: F401 offline, scratch under tmp/, the suite's own cache
|
||||
|
||||
import sys
|
||||
import unittest
|
||||
from pathlib import Path
|
||||
|
||||
@@ -9,6 +9,8 @@ are both load-bearing.
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import tests # noqa: F401 offline, scratch under tmp/, the suite's own cache
|
||||
|
||||
import contextlib
|
||||
import io
|
||||
import os
|
||||
|
||||
@@ -7,6 +7,8 @@ is two held ROMs end to end. The gap report listed them as acquisition targets.
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import tests # noqa: F401 offline, scratch under tmp/, the suite's own cache
|
||||
|
||||
import hashlib
|
||||
import os
|
||||
import shutil
|
||||
|
||||
@@ -2,6 +2,8 @@
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import tests # noqa: F401 offline, scratch under tmp/, the suite's own cache
|
||||
|
||||
import hashlib
|
||||
import os
|
||||
import tempfile
|
||||
|
||||
@@ -9,6 +9,8 @@ reported missing while 3 584 collected files stayed out of every pack.
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import tests # noqa: F401 offline, scratch under tmp/, the suite's own cache
|
||||
|
||||
import hashlib
|
||||
import json
|
||||
import sys
|
||||
|
||||
@@ -7,6 +7,8 @@ code moves, and nothing else notices.
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import tests # noqa: F401 offline, scratch under tmp/, the suite's own cache
|
||||
|
||||
import ast
|
||||
import hashlib
|
||||
import inspect
|
||||
|
||||
@@ -9,6 +9,8 @@ tool prints, and a size is the one the release record holds.
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import tests # noqa: F401 offline, scratch under tmp/, the suite's own cache
|
||||
|
||||
import ast
|
||||
import contextlib
|
||||
import re
|
||||
|
||||
@@ -9,6 +9,8 @@ checksum of each layout and the staging location.
|
||||
"""
|
||||
from __future__ import annotations
|
||||
|
||||
import tests # noqa: F401 offline, scratch under tmp/, the suite's own cache
|
||||
|
||||
import contextlib
|
||||
import functools
|
||||
import hashlib
|
||||
|
||||
@@ -17,6 +17,8 @@ Covers:
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import tests # noqa: F401 offline, scratch under tmp/, the suite's own cache
|
||||
|
||||
import contextlib
|
||||
import hashlib
|
||||
import io
|
||||
|
||||
@@ -9,6 +9,8 @@ upstream files.
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import tests # noqa: F401 offline, scratch under tmp/, the suite's own cache
|
||||
|
||||
import sys
|
||||
import unittest
|
||||
from pathlib import Path
|
||||
|
||||
@@ -9,6 +9,8 @@ firmware of cores its image never had.
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import tests # noqa: F401 offline, scratch under tmp/, the suite's own cache
|
||||
|
||||
import json
|
||||
import sys
|
||||
import unittest
|
||||
|
||||
@@ -9,6 +9,8 @@ names and ten "missing".
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import tests # noqa: F401 offline, scratch under tmp/, the suite's own cache
|
||||
|
||||
import re
|
||||
import subprocess
|
||||
import sys
|
||||
|
||||
@@ -6,6 +6,8 @@ from what the cores the platform runs open, never from the entry's name.
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import tests # noqa: F401 offline, scratch under tmp/, the suite's own cache
|
||||
|
||||
import sys
|
||||
import unittest
|
||||
from pathlib import Path
|
||||
|
||||
@@ -9,6 +9,8 @@ from a file other than the one the hash describes.
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import tests # noqa: F401 offline, scratch under tmp/, the suite's own cache
|
||||
|
||||
import json
|
||||
import sys
|
||||
import unittest
|
||||
|
||||
@@ -9,6 +9,8 @@ libretro's System.dat (N88EXT0-3.ROM) as if libretro declared them.
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import tests # noqa: F401 offline, scratch under tmp/, the suite's own cache
|
||||
|
||||
import sys
|
||||
import tempfile
|
||||
import unittest
|
||||
|
||||
@@ -7,6 +7,8 @@ file from and no list to check the diff against.
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import tests # noqa: F401 offline, scratch under tmp/, the suite's own cache
|
||||
|
||||
import re
|
||||
import sys
|
||||
import tempfile
|
||||
|
||||
@@ -14,6 +14,8 @@ and skip when it has not been populated (python scripts/export_native.py
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import tests # noqa: F401 offline, scratch under tmp/, the suite's own cache
|
||||
|
||||
import difflib
|
||||
import io
|
||||
import json
|
||||
|
||||
@@ -8,6 +8,8 @@ Galaksija ROM and a PS2 ROM2.BIN.
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import tests # noqa: F401 offline, scratch under tmp/, the suite's own cache
|
||||
|
||||
import sys
|
||||
import unittest
|
||||
from pathlib import Path
|
||||
|
||||
@@ -9,6 +9,8 @@ have vanished with it.
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import tests # noqa: F401 offline, scratch under tmp/, the suite's own cache
|
||||
|
||||
import sys
|
||||
import unittest
|
||||
from pathlib import Path
|
||||
|
||||
@@ -2,6 +2,8 @@
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import tests # noqa: F401 offline, scratch under tmp/, the suite's own cache
|
||||
|
||||
import tempfile
|
||||
import unittest
|
||||
from pathlib import Path
|
||||
|
||||
@@ -8,6 +8,8 @@ homonym tests/test_game_data_homonyms.py forbids the resolver to serve.
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import tests # noqa: F401 offline, scratch under tmp/, the suite's own cache
|
||||
|
||||
import hashlib
|
||||
import sys
|
||||
import tempfile
|
||||
|
||||
@@ -8,6 +8,8 @@ directory, and only a manual reading found it.
|
||||
"""
|
||||
from __future__ import annotations
|
||||
|
||||
import tests # noqa: F401 offline, scratch under tmp/, the suite's own cache
|
||||
|
||||
import sys
|
||||
import tempfile
|
||||
import unittest
|
||||
|
||||
@@ -7,6 +7,8 @@ attached to misterfpga by substring and checked against the full list:
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import tests # noqa: F401 offline, scratch under tmp/, the suite's own cache
|
||||
|
||||
import os
|
||||
import sys
|
||||
import tempfile
|
||||
|
||||
@@ -6,6 +6,8 @@ today's upstream no longer carries, but the bytes are in the project's history.
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import tests # noqa: F401 offline, scratch under tmp/, the suite's own cache
|
||||
|
||||
import hashlib
|
||||
import sys
|
||||
import unittest
|
||||
|
||||
@@ -9,6 +9,8 @@ and put every file one directory too deep.
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import tests # noqa: F401 offline, scratch under tmp/, the suite's own cache
|
||||
|
||||
import unittest
|
||||
from pathlib import Path
|
||||
|
||||
|
||||
@@ -9,6 +9,8 @@ to upstream PCSX2.
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import tests # noqa: F401 offline, scratch under tmp/, the suite's own cache
|
||||
|
||||
import hashlib
|
||||
import os
|
||||
import sys
|
||||
|
||||
@@ -9,6 +9,8 @@ served while data/bluemsx held the 8 KB one.
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import tests # noqa: F401 offline, scratch under tmp/, the suite's own cache
|
||||
|
||||
import hashlib
|
||||
import os
|
||||
import shutil
|
||||
|
||||
@@ -8,6 +8,8 @@ the pack and the manifest while verify, comparing md5, called it OK.
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import tests # noqa: F401 offline, scratch under tmp/, the suite's own cache
|
||||
|
||||
import hashlib
|
||||
import os
|
||||
import sys
|
||||
|
||||
@@ -2,6 +2,8 @@
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import tests # noqa: F401 offline, scratch under tmp/, the suite's own cache
|
||||
|
||||
import json
|
||||
import subprocess
|
||||
import sys
|
||||
|
||||
@@ -12,6 +12,8 @@ carries `unsourceable:` until its own bytes are held.
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import tests # noqa: F401 offline, scratch under tmp/, the suite's own cache
|
||||
|
||||
import hashlib
|
||||
import os
|
||||
import re
|
||||
|
||||
@@ -2,6 +2,8 @@
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import tests # noqa: F401 offline, scratch under tmp/, the suite's own cache
|
||||
|
||||
import json
|
||||
import re
|
||||
import sys
|
||||
|
||||
@@ -8,6 +8,8 @@ can lose its backing, then on the repository's own files.
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import tests # noqa: F401 offline, scratch under tmp/, the suite's own cache
|
||||
|
||||
import copy
|
||||
import json
|
||||
import sys
|
||||
|
||||
@@ -7,6 +7,8 @@ so a test pins the join and not the state of the data.
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import tests # noqa: F401 offline, scratch under tmp/, the suite's own cache
|
||||
|
||||
import json
|
||||
import shutil
|
||||
import sys
|
||||
|
||||
@@ -7,6 +7,8 @@ it. RetroArch names Galaksija's 4 KiB galaksija/rom1.bin, so DOSBox's
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import tests # noqa: F401 offline, scratch under tmp/, the suite's own cache
|
||||
|
||||
import sys
|
||||
import unittest
|
||||
from pathlib import Path
|
||||
|
||||
@@ -10,6 +10,8 @@ the pad reaching the console, a compositor covering it) is not exercised.
|
||||
"""
|
||||
from __future__ import annotations
|
||||
|
||||
import tests # noqa: F401 offline, scratch under tmp/, the suite's own cache
|
||||
|
||||
import hashlib
|
||||
import importlib.util
|
||||
import json
|
||||
|
||||
@@ -2,6 +2,8 @@
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import tests # noqa: F401 offline, scratch under tmp/, the suite's own cache
|
||||
|
||||
import json
|
||||
import tempfile
|
||||
import unittest
|
||||
|
||||
@@ -2,6 +2,8 @@
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import tests # noqa: F401 offline, scratch under tmp/, the suite's own cache
|
||||
|
||||
import shutil
|
||||
import sys
|
||||
import tempfile
|
||||
|
||||
@@ -9,6 +9,8 @@ ROCKNIX's higan SGB1.sfc/program.rom under the file SGB1.sfc.
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import tests # noqa: F401 offline, scratch under tmp/, the suite's own cache
|
||||
|
||||
import os
|
||||
import sys
|
||||
import unittest
|
||||
|
||||
@@ -2,6 +2,8 @@
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import tests # noqa: F401 offline, scratch under tmp/, the suite's own cache
|
||||
|
||||
import shutil
|
||||
import sys
|
||||
import tempfile
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
"""Tests for install.py platform detection and config parsing."""
|
||||
from __future__ import annotations
|
||||
|
||||
import tests # noqa: F401 offline, scratch under tmp/, the suite's own cache
|
||||
|
||||
import contextlib
|
||||
import functools
|
||||
import hashlib
|
||||
|
||||
@@ -8,6 +8,8 @@ menu) is not exercised.
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import tests # noqa: F401 offline, scratch under tmp/, the suite's own cache
|
||||
|
||||
import hashlib
|
||||
import io
|
||||
import json
|
||||
|
||||
@@ -8,6 +8,8 @@ which cores keep each system, the rule a pack built for a target follows.
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import tests # noqa: F401 offline, scratch under tmp/, the suite's own cache
|
||||
|
||||
import contextlib
|
||||
import io
|
||||
import json
|
||||
|
||||
@@ -7,6 +7,8 @@ honours Retry-After, and large files that resume where they stopped.
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import tests # noqa: F401 offline, scratch under tmp/, the suite's own cache
|
||||
|
||||
import contextlib
|
||||
import errno
|
||||
import hashlib
|
||||
|
||||
@@ -11,6 +11,8 @@ never moved, and checked again once written.
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import tests # noqa: F401 offline, scratch under tmp/, the suite's own cache
|
||||
|
||||
import contextlib
|
||||
import copy
|
||||
import errno
|
||||
|
||||
@@ -8,6 +8,8 @@ index, published by scripts/generate_games_index.py.
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import tests # noqa: F401 offline, scratch under tmp/, the suite's own cache
|
||||
|
||||
import contextlib
|
||||
import functools
|
||||
import gzip
|
||||
|
||||
@@ -9,6 +9,8 @@ installs again from disk, --from-pack, every file checked by its hash.
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import tests # noqa: F401 offline, scratch under tmp/, the suite's own cache
|
||||
|
||||
import contextlib
|
||||
import hashlib
|
||||
import io
|
||||
|
||||
@@ -9,6 +9,8 @@ to one answer.
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import tests # noqa: F401 offline, scratch under tmp/, the suite's own cache
|
||||
|
||||
import contextlib
|
||||
import functools
|
||||
import hashlib
|
||||
|
||||
@@ -9,6 +9,8 @@ installs it).
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import tests # noqa: F401 offline, scratch under tmp/, the suite's own cache
|
||||
|
||||
import argparse
|
||||
import contextlib
|
||||
import errno
|
||||
|
||||
@@ -7,6 +7,8 @@ platform outright.
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import tests # noqa: F401 offline, scratch under tmp/, the suite's own cache
|
||||
|
||||
import unittest
|
||||
|
||||
from scripts.scraper.targets import lakka_targets_scraper as lakka
|
||||
|
||||
@@ -8,6 +8,8 @@ that then replaced the cache entry.
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import tests # noqa: F401 offline, scratch under tmp/, the suite's own cache
|
||||
|
||||
import hashlib
|
||||
import io
|
||||
import json
|
||||
|
||||
@@ -16,6 +16,8 @@ Two checks read the committed data:
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import tests # noqa: F401 offline, scratch under tmp/, the suite's own cache
|
||||
|
||||
import re
|
||||
import unittest
|
||||
from collections import defaultdict
|
||||
|
||||
@@ -8,6 +8,8 @@ and a fixed path the launcher passes (Batocera's x16emu shape).
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import tests # noqa: F401 offline, scratch under tmp/, the suite's own cache
|
||||
|
||||
import hashlib
|
||||
import inspect
|
||||
import os
|
||||
|
||||
@@ -8,6 +8,8 @@ is checked against the revision itself.
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import tests # noqa: F401 offline, scratch under tmp/, the suite's own cache
|
||||
|
||||
import dataclasses
|
||||
import json
|
||||
import sys
|
||||
|
||||
@@ -8,6 +8,8 @@ fixture's own lines, and a construct that is gone must stop the scrape.
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import tests # noqa: F401 offline, scratch under tmp/, the suite's own cache
|
||||
|
||||
import sys
|
||||
import textwrap
|
||||
import unittest
|
||||
|
||||
@@ -8,6 +8,8 @@ is checked against the tag itself.
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import tests # noqa: F401 offline, scratch under tmp/, the suite's own cache
|
||||
|
||||
import json
|
||||
import sys
|
||||
import unittest
|
||||
|
||||
@@ -8,6 +8,8 @@ the fixture's own lines, and a construct that is gone must stop the scrape.
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import tests # noqa: F401 offline, scratch under tmp/, the suite's own cache
|
||||
|
||||
import sys
|
||||
import textwrap
|
||||
import unittest
|
||||
|
||||
@@ -8,6 +8,8 @@ cites. A construct that is gone or unknown must stop the scrape.
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import tests # noqa: F401 offline, scratch under tmp/, the suite's own cache
|
||||
|
||||
import sys
|
||||
import textwrap
|
||||
import unittest
|
||||
|
||||
@@ -8,6 +8,8 @@ cites. A construct that is gone or unknown must stop the scrape.
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import tests # noqa: F401 offline, scratch under tmp/, the suite's own cache
|
||||
|
||||
import dataclasses
|
||||
import json
|
||||
import sys
|
||||
|
||||
@@ -9,6 +9,8 @@ configs differ, and a construct that is gone must stop the scrape.
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import tests # noqa: F401 offline, scratch under tmp/, the suite's own cache
|
||||
|
||||
import sys
|
||||
import textwrap
|
||||
import unittest
|
||||
|
||||
@@ -9,6 +9,8 @@ Sys from system/dolphin-emu/Sys and keeps User in the save directory.
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import tests # noqa: F401 offline, scratch under tmp/, the suite's own cache
|
||||
|
||||
import os
|
||||
import sys
|
||||
import unittest
|
||||
|
||||
@@ -9,6 +9,8 @@ duplicate system carrying the quasi88 group.
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import tests # noqa: F401 offline, scratch under tmp/, the suite's own cache
|
||||
|
||||
import sys
|
||||
import unittest
|
||||
from pathlib import Path
|
||||
|
||||
Loaded 100 of 250 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user