Fix Python test setup issues
This commit is contained in:
parent
6878652583
commit
3d91627253
3 changed files with 13 additions and 5 deletions
|
@ -1,9 +1,13 @@
|
|||
from typing import TYPE_CHECKING
|
||||
|
||||
import pytest
|
||||
|
||||
from pyority_queue import PureQueue
|
||||
if TYPE_CHECKING:
|
||||
from pyority_queue import Comparable
|
||||
|
||||
|
||||
type PureQueueInitializer = list[float] | list[int] | tuple[float, ...] | tuple[int, ...]
|
||||
type PureQueueInitializer = list[Comparable] | tuple[Comparable, ...]
|
||||
|
||||
|
||||
def test_empty_creation():
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue