Skip to content

Commit

Permalink
Better import for sometimes failing mypy test (#4016)
Browse files Browse the repository at this point in the history
Would get:

dev_tools/bash_scripts_test.py:33: error: Name
'_pytest.tmpdir.TempdirFactory' is not defined

This fixes it. Don't know why it sometimes works on
some configurations.
  • Loading branch information
mpharrigan committed Apr 13, 2021
1 parent eff9583 commit 76edeb1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dev_tools/bash_scripts_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
from dev_tools import shell_tools

if TYPE_CHECKING:
import _pytest
import _pytest.tmpdir


def only_on_posix(func):
Expand Down

0 comments on commit 76edeb1

Please sign in to comment.