We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c694ea6 commit 58f389bCopy full SHA for 58f389b
mypy/test/test_config_parser.py
@@ -58,7 +58,17 @@ def test_parent_config_with_and_without_git(self) -> None:
58
assert result is not None
59
assert Path(result[2]).resolve() == config.resolve()
60
61
- (child / ".git").touch()
+ git = child / ".git"
62
+ git.touch()
63
+
64
+ result = _find_config_file()
65
+ assert result is None
66
67
+ git.unlink()
68
69
+ assert result is not None
70
+ hg = child / ".hg"
71
+ hg.touch()
72
73
result = _find_config_file()
74
assert result is None
0 commit comments