Пример #1
0
    def print(*args, **kwargs):
        import dvc.logger as logger

        if logger.is_quiet():
            return

        print(*args, **kwargs)
Пример #2
0
    def _print(*args, **kwargs):
        if logger.is_quiet():
            return

        print(*args, **kwargs)
Пример #3
0
    def test_is_quiet(self):
        self.assertFalse(logger.is_quiet())

        with logger.quiet():
            self.assertFalse(logger.is_verbose())