chore: some cleanup from ruff --preview checks

Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>
This commit is contained in:
Henry Schreiner
2025-02-28 16:38:15 -05:00
committed by Henry Schreiner
parent 2f62696400
commit 183a7c3f1d
13 changed files with 46 additions and 42 deletions
+3 -3
View File
@@ -31,7 +31,7 @@ def platform_machine(request, monkeypatch):
def test_arch_auto(platform_machine):
platform_name, machine_name = platform_machine
_, machine_name = platform_machine
arch_set = Architecture.auto_archs("linux")
expected = {
@@ -55,7 +55,7 @@ def test_arch_auto(platform_machine):
def test_arch_auto64(platform_machine):
platform_name, machine_name = platform_machine
_, machine_name = platform_machine
arch_set = Architecture.parse_config("auto64", "linux")
expected = {"32": set(), "64": {Architecture.x86_64}, "arm": {Architecture.aarch64}}
@@ -71,7 +71,7 @@ def test_arch_auto64(platform_machine):
def test_arch_auto32(platform_machine):
platform_name, machine_name = platform_machine
_, machine_name = platform_machine
arch_set = Architecture.parse_config("auto32", "linux")
expected = {"32": {Architecture.i686}, "64": {Architecture.i686}, "arm": {Architecture.armv7l}}