mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-08-21 13:33:47 +08:00
no slow unittests (#38480)
* rm test_regen * not slow * skip bridge * rm that one too * just op test * just test
This commit is contained in:
@@ -173,8 +173,6 @@ def collect(targets, keyword):
|
||||
continue
|
||||
if getattr(cls, "__unittest_skip_why__", "") == "parameterized base class":
|
||||
continue
|
||||
if os.environ.get("SKIP_SLOW") and getattr(cls, "SLOW_TEST", False):
|
||||
continue
|
||||
if not keyword or keyword.lower() in test.id().lower():
|
||||
tests.append(test)
|
||||
return list({test.id(): test for test in tests}.values()), errors
|
||||
|
||||
Reference in New Issue
Block a user