mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-11-24 18:47:53 -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
@@ -10,6 +10,7 @@ from __future__ import annotations
|
||||
|
||||
import tests # noqa: F401 offline, scratch under tmp/, the suite's own cache
|
||||
|
||||
import argparse
|
||||
import functools
|
||||
import hashlib
|
||||
import http.server
|
||||
@@ -632,7 +633,7 @@ class PartSizes(unittest.TestCase):
|
||||
for text in ("big", "1K", "-5M"):
|
||||
with self.subTest(text=text), \
|
||||
mock.patch("sys.stderr", io.StringIO()), \
|
||||
self.assertRaises(Exception):
|
||||
self.assertRaises(argparse.ArgumentTypeError):
|
||||
install.parse_part_size(text)
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user