ibeis.tests package¶
Submodules¶
ibeis.tests.assert_modules module¶
Very useful script to ensure you have all the modules you need
CommandLine:
python -m ibeis.tests.assert_modules
python -m ibeis.tests.assert_modules --test-assert_modules --nolibdep
python -m ibeis.tests.assert_modules --test-assert_modules
- MacFix:
- # Remove the copy of pyrf /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/ sudo rm -rf pyrf-1.0.0.dev1-py2.7.egg/
- Updater For Linux:
sudo pip install matplotlib –upgrade sudo pip install Pillow –upgrade sudo pip install scipy –upgrade sudo pip install numpy –upgrade
./super_setup.py –bootstrap –upgrade
-
ibeis.tests.assert_modules.
assert_modules
()[source]¶ checkinfo functions return info_dict checkinfo_func
CommandLine:
python -m ibeis.tests.assert_modules --test-assert_modules
Example
>>> # DOCTEST_ENABLE >>> from ibeis.tests.assert_modules import * # NOQA >>> detailed_msg = assert_modules() >>> print(detailed_msg)
-
ibeis.tests.assert_modules.
checkinfo
(target=None, pipname=None)[source]¶ checkinfo functions return info_dict containing __version__
ibeis.tests.reset_testdbs module¶
downloads standard test datasets. can delete them as well
-
ibeis.tests.reset_testdbs.
get_testdata_dir
(ensure=True, key=u'testdb1')[source]¶ Gets test img directory and downloads it if it doesn’t exist