Skip to content

Commit

Permalink
typing.override -> typing_extensions.override
Browse files Browse the repository at this point in the history
typing.override was only added in Python 3.12
  • Loading branch information
Mysteryem committed Jan 29, 2025
1 parent f47de90 commit 205c4d5
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion test/general/test_groups.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from typing import override
from typing_extensions import override
from unittest import TestCase

from worlds.AutoWorld import AutoWorldRegister
Expand Down
2 changes: 1 addition & 1 deletion test/general/test_memory.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from typing import override
from typing_extensions import override
import unittest

from BaseClasses import MultiWorld
Expand Down
2 changes: 1 addition & 1 deletion test/general/test_names.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from typing import override
from typing_extensions import override
import unittest
from worlds.AutoWorld import AutoWorldRegister
from worlds import ensure_worlds_loaded
Expand Down
3 changes: 2 additions & 1 deletion test/multiworld/test_multiworlds.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import unittest
from typing import List, Tuple, override
from typing import List, Tuple
from typing_extensions import override
from unittest import TestCase

from BaseClasses import CollectionState, Location, MultiWorld
Expand Down
2 changes: 1 addition & 1 deletion test/webhost/test_descriptions.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from typing import override
from typing_extensions import override
import unittest

from worlds.AutoWorld import AutoWorldRegister
Expand Down

0 comments on commit 205c4d5

Please sign in to comment.