Skip to content

Commit c823055

Browse files
committed
Fix lint issues
1 parent 9892654 commit c823055

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

tests/lint/unittest_expand_modules.py

+5-3
Original file line numberDiff line numberDiff line change
@@ -322,9 +322,9 @@ def test_discover_package_path_no_source_root_overlap(tmp_path):
322322
expected = source_roots
323323
assert package_paths == expected
324324

325+
325326
def test_discover_package_path_legacy():
326-
"""Test for legacy path discovery when source_roots is empty
327-
"""
327+
"""Test for legacy path discovery when source_roots is empty"""
328328
source_roots = []
329329
package_paths = discover_package_path(__file__, source_roots)
330330

@@ -333,9 +333,11 @@ def test_discover_package_path_legacy():
333333

334334
assert package_paths == expected
335335

336+
336337
def test_discover_package_path_legacy_no_parent_without_init_py(tmp_path, monkeypatch):
337338
"""Test to return current directory if no parent directory without
338-
__init__.py is found"""
339+
__init__.py is found
340+
"""
339341
source_roots = []
340342

341343
monkeypatch.setattr(os.path, "exists", lambda path: True)

0 commit comments

Comments
 (0)