Core: some low-hanging fruit on the strict type check (#3416)

* Core: some low-hanging fruit on the strict type check

* bump pyright version

* bump pyright version

* bump pyright and remove file that's no longer easy
This commit is contained in:
Doug Hoskisson
2025-01-17 11:14:21 -08:00
committed by GitHub
parent 698d27aada
commit 23ea3c0efc
5 changed files with 25 additions and 10 deletions

View File

@@ -5,7 +5,7 @@ from . import setup_solo_multiworld
class TestWorldMemory(unittest.TestCase):
def test_leak(self):
def test_leak(self) -> None:
"""Tests that worlds don't leak references to MultiWorld or themselves with default options."""
import gc
import weakref