Skip to content

Commit

Permalink
Merge branch 'dev'
Browse files Browse the repository at this point in the history
  • Loading branch information
ken-morel committed Jun 2, 2024
2 parents 7421ca9 + d050f17 commit 9a8a7bc
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion src/tests/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +0,0 @@
from . import test_cast, test_overload, test_check
2 changes: 1 addition & 1 deletion src/tests/test_cast.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def __init__(self: Any, bar: list) -> Any:


def test_cast():
q = foo([(1, "67")])
q = foo([(1, '67')])
q.foo = {1234: {'5', 16j}}
assert typeMatch(q.foo, dict[str, tuple[int | str]])
assert typeMatch(q.bar, list[tuple[float]])
Expand Down
1 change: 0 additions & 1 deletion src/tests/test_check.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

from pyoload import AnnotationError
from pyoload import Any
from pyoload import Check
from pyoload import CheckedAttr
from pyoload import Checks
from pyoload import annotate
Expand Down

0 comments on commit 9a8a7bc

Please sign in to comment.