summaryrefslogtreecommitdiff
path: root/numpy/_import_tools.py
diff options
context:
space:
mode:
Diffstat (limited to 'numpy/_import_tools.py')
-rw-r--r--numpy/_import_tools.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/numpy/_import_tools.py b/numpy/_import_tools.py
index ca9a4ceed..248c68e6a 100644
--- a/numpy/_import_tools.py
+++ b/numpy/_import_tools.py
@@ -59,8 +59,8 @@ class PackageLoader:
info_files.extend(names_files)
break
else:
- self.warn('Package %r does not have info.py file. Ignoring.'\
- % package_name)
+ self.warn('No scipy-style subpackage %r found in %s. Ignoring.'\
+ % (package_name,':'.join(self.parent_path)))
info_modules = self.info_modules
for package_name,info_file in info_files:
@@ -137,7 +137,7 @@ class PackageLoader:
to load all of them in one call.
If a name which doesn't exist in scipy's namespace is
- given, a warning on missing info.py file is shown.
+ given, a warning is shown.
Inputs: