mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-11-25 19:08:51 -06:00
chore: clear the ruff findings in tests
This commit is contained in:
1 parent
382241fb1b
commit
cc028fe7ee
49 files changed
+290
-183
No files matched your search
@@ -767,8 +767,7 @@ class EveryHandheldRowSaysWhere(unittest.TestCase):
|
||||
text = _plain_page(HANDHELDS.path)
|
||||
for system in HANDHELDS.systems:
|
||||
row = next(line for line in text.splitlines()
|
||||
if line.startswith(f"| {system.name} |")
|
||||
or line.startswith(f"| {system.name}, "))
|
||||
if line.startswith((f"| {system.name} |", f"| {system.name}, ")))
|
||||
with self.subTest(system=system.name):
|
||||
self.assertEqual(generate_site.LINUX_ONLY_HINT in row, system.linux_only)
|
||||
self.assertTrue(any(s.linux_only for s in HANDHELDS.systems if s.name == "ArchR"))
|
||||
|
||||
Reference in new issue
Block a user