Skip to content

Commit

Permalink
mypy
Browse files Browse the repository at this point in the history
  • Loading branch information
matthiasdiener committed Feb 5, 2025
1 parent 9045fa3 commit 95e5d8d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions pytools/test/test_persistent_dict.py
Original file line number Diff line number Diff line change
Expand Up @@ -1054,8 +1054,10 @@ def test_nan_keys() -> None:
try:
tmpdir = tempfile.mkdtemp()
keyb = KeyBuilder()
pdict = PersistentDict("pytools-test", container_dir=tmpdir,
safe_sync=False, key_builder=keyb)
pdict: PersistentDict[float, int] = PersistentDict("pytools-test",
container_dir=tmpdir,
safe_sync=False,
key_builder=keyb)

import math

Expand Down

0 comments on commit 95e5d8d

Please sign in to comment.