Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit c51f5ca

Browse filesBrowse files
committed
Merge pull request #7703 from matthew-brett/fix-namespace-searcher
TST: Convert namespace path to list
1 parent 6893334 commit c51f5ca
Copy full SHA for c51f5ca

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed

‎lib/matplotlib/testing/decorators.py

Copy file name to clipboardExpand all lines: lib/matplotlib/testing/decorators.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -392,7 +392,7 @@ def find_dotted_module(module_name, path=None):
392392
file.close()
393393
except ImportError:
394394
# assume namespace package
395-
path = sys.modules[sub_mod].__path__
395+
path = list(sys.modules[sub_mod].__path__)
396396
res = None, path, None
397397
return res
398398

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.