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 44ecafb commit 87b1d59Copy full SHA for 87b1d59
python_files/tests/unittestadapter/test_utils.py
@@ -284,11 +284,10 @@ def test_build_empty_tree() -> None:
284
start_dir = os.fsdecode(TEST_DATA_PATH)
285
pattern = "does_not_exist*"
286
287
- expected = None
288
-
289
loader = unittest.TestLoader()
290
suite = loader.discover(start_dir, pattern)
291
tests, errors = build_test_tree(suite, start_dir)
292
293
- assert expected == tests
+ assert tests.get("children") == []
+ assert tests is not None
294
assert not errors
0 commit comments