1
0
forked from VimPlug/jedi

Merge pull request #1875 from marciomazza/fix-test-home-is-potential-project

Fix test where home could be a potential project
This commit is contained in:
Dave Halter
2022-09-02 09:19:52 +00:00
committed by GitHub

View File

@@ -178,7 +178,7 @@ def test_is_potential_project(path, expected):
if expected is None:
try:
expected = _CONTAINS_POTENTIAL_PROJECT in os.listdir(path)
expected = bool(set(_CONTAINS_POTENTIAL_PROJECT) & set(os.listdir(path)))
except OSError:
expected = False