From 1133a63829a5451c6267919ab81df57997a98bc3 Mon Sep 17 00:00:00 2001 From: benchislett Date: Sun, 27 Jun 2021 15:19:46 -0400 Subject: [PATCH] Suppress logs in tests Still need to find a cure for the egregious transform output --- conftest.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/conftest.py b/conftest.py index 9419fa9334..b15c643c5c 100644 --- a/conftest.py +++ b/conftest.py @@ -1,10 +1,12 @@ import os +import logging import pytest # Disable crash reporting before running tests # This MUST come before hub imports to bypass import publication. os.environ["BUGGER_OFF"] = "true" +logging.basicConfig(level=logging.ERROR) from hub.api.dataset import Dataset from hub.constants import (