mirror of
https://github.com/davidhalter/jedi.git
synced 2026-10-08 05:34:34 +08:00
Revisit reference finding, scan a lot of folders
This commit is contained in:
1 parent
62a77dcd16
commit
ed36efabeb
4 files changed
+92
-52
No files matched your search
@@ -17,3 +17,11 @@ def test_folder_io_walk():
|
||||
assert root.path == join(root_dir, 'ns2')
|
||||
folder_ios.clear()
|
||||
assert next(iterator, None) is None
|
||||
|
||||
|
||||
def test_folder_io_walk2():
|
||||
root_dir = get_example_dir('namespace_package')
|
||||
iterator = FolderIO(root_dir).walk()
|
||||
root, folder_ios, file_ios = next(iterator)
|
||||
folder_ios.clear()
|
||||
assert next(iterator, None) is None
|
||||
Reference in new issue
Block a user