diff options
author | hippo91 <guillaume.peillex@gmail.com> | 2020-12-28 12:13:38 +0100 |
---|---|---|
committer | hippo91 <guillaume.peillex@gmail.com> | 2020-12-28 12:13:38 +0100 |
commit | f8e32f1dad5df063ee4241d4f5fb70c2073a1e28 (patch) | |
tree | 031dba84dc4c45ded563873cd06413b2923a79e1 /astroid/modutils.py | |
parent | 06c9eb1e971ac075b6696cb6726eca138882602e (diff) | |
download | astroid-git-f8e32f1dad5df063ee4241d4f5fb70c2073a1e28.tar.gz |
Adds print to debug travis failure with pyp
Diffstat (limited to 'astroid/modutils.py')
-rw-r--r-- | astroid/modutils.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/astroid/modutils.py b/astroid/modutils.py index fb051d5e..f3852566 100644 --- a/astroid/modutils.py +++ b/astroid/modutils.py @@ -534,6 +534,9 @@ def is_standard_module(modname, std_path=None): return False if std_path is None: std_path = STD_LIB_DIRS + if modname == "hashlib": + print(f"Module {modname} is located in {filename}") + print(f"STD_LIB_DIRS are {STD_LIB_DIRS}") for path in std_path: if filename.startswith(_cache_normalize_path(path)): return True |