Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
gpetretto committed May 29, 2023
1 parent d8f99c9 commit 589624d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/maggma/stores/mongolike.py
Expand Up @@ -704,8 +704,8 @@ def __init__(
self,
paths: Union[str, List[str]],
read_only: bool = True,
serialization_option: int | None = None,
serialization_default: Any | None = None,
serialization_option: Optional[int] = None,
serialization_default: Any = None,
**kwargs,
):
"""
Expand Down
2 changes: 1 addition & 1 deletion tests/stores/test_mongolike.py
Expand Up @@ -518,7 +518,7 @@ class SubFloat(float):
"a.json",
read_only=False,
serialization_option=None,
serialization_default="test",
serialization_default=lambda x: "test",
)
jsonstore.connect()
jsonstore.update({"wrong_field": SubFloat(1.1), "task_id": 3})
Expand Down

0 comments on commit 589624d

Please sign in to comment.