Skip to content

Commit

Permalink
Fix mypy problems
Browse files Browse the repository at this point in the history
  • Loading branch information
kedder committed Feb 9, 2021
1 parent 24d002d commit f06586c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/ofxstatement/tests/test_tool.py
Expand Up @@ -6,6 +6,7 @@
import logging
import logging.handlers
import shutil
from typing import Dict

import mock

Expand Down Expand Up @@ -162,7 +163,8 @@ def test_editconfig_existing(self) -> None:
call = mock.Mock()
subprocesspatch = mock.patch("subprocess.call", call)

envpatch = mock.patch("os.environ", {})
env: Dict[str, str] = {}
envpatch = mock.patch("os.environ", env)

with locpatch, envpatch, mkdirspatch, subprocesspatch:
tool.run(["edit-config"])
Expand Down

0 comments on commit f06586c

Please sign in to comment.