Skip to content

Commit

Permalink
fix bitrot in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
huwcbjones committed Sep 15, 2023
1 parent 06f0660 commit cbad82b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_field_for_schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -185,8 +185,8 @@ def test_optional_multiple_types(self):
field_for_schema(Optional[Union[int, str]]),
union_field.Union(
[
(int, fields.Integer(required=True)),
(str, fields.String(required=True)),
(int, fields.Integer(required=True)),
],
required=False,
dump_default=None,
Expand Down
1 change: 1 addition & 0 deletions tests/test_mypy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
follow_imports = silent
plugins = marshmallow_dataclass.mypy
show_error_codes = true
python_version = 3.6
env:
- PYTHONPATH=.
main: |
Expand Down

0 comments on commit cbad82b

Please sign in to comment.