def test_dependencies_matplotlib(self): fLOG( __file__, self._testMethodName, OutputPrint=__name__ == "__main__") if sys.version_info[0] == 2: warnings.warn( "test_dependencies_matplotlib: disable on Python 2.7") return if not is_conda_distribution(): self.common_function("matplotlib") else: # issue with Anaconda, not investigated return
def test_dependencies_luigi(self): fLOG(__file__, self._testMethodName, OutputPrint=__name__ == "__main__") try: import luigi mod = "luigi" assert luigi is not None except ImportError: mod = "pandas" if not is_conda_distribution(): dep = missing_dependencies(mod) self.assertEqual(dep, {}) self.common_function(mod) else: # issue with Anaconda, not investigated return
def test_dependencies_luigi(self): fLOG( __file__, self._testMethodName, OutputPrint=__name__ == "__main__") try: import luigi mod = "luigi" assert luigi is not None except ImportError: mod = "pandas" if not is_conda_distribution(): dep = missing_dependencies(mod) self.assertEqual(dep, {}) self.common_function(mod) else: # issue with Anaconda, not investigated return