def test_setup_without_seaborn(self):
        with mock.patch.dict('sys.modules', {'seaborn': None}):
            log_stream = StringIO()
            Logger.CONSOLE_STREAM_HANDLER = logging.StreamHandler(log_stream)
            log.reset_instance()
            log.initialize()
            plot.setup_plotting()
            self.assertRegexpMatches(log_stream.getvalue(),
                                     r'Cannot import seaborn')
Return an array of the same shape as `x` filled with random numbers from
dataset/ETHPy150Open duerrp/pyexperiment/tests/test_plot.py/TestPlot.test_setup_without_seaborn--crossover with--dataset/ETHPy150Open BRML/climin/climin/mathadapt.py/random_like