Skip to content

Commit

Permalink
upgrade eval_type_backport to copy ForwardRef attributes, allowing un…
Browse files Browse the repository at this point in the history
…skipping one more test
  • Loading branch information
alexmojaki committed Dec 17, 2023
1 parent 6bc0ee4 commit f423659
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
6 changes: 3 additions & 3 deletions pdm.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion tests/test_forward_ref.py
Expand Up @@ -673,7 +673,6 @@ class Hero(BaseModel):
assert h.model_dump() == {'name': 'Ivan', 'teams': [{'name': 'TheBest', 'heroes': []}]}


@pytest.mark.skipif(sys.version_info < (3, 9), reason='needs 3.9 or newer')
def test_class_var_forward_ref(create_module):
# see #3679
create_module(
Expand Down

0 comments on commit f423659

Please sign in to comment.