Skip to content

Commit

Permalink
Merge pull request activeloopai#997 from activeloopai/task/2.0/suppre…
Browse files Browse the repository at this point in the history
…ss-logs-in-tests

[2.0] Suppress logs in tests
  • Loading branch information
farizrahman4u authored Jun 28, 2021
2 parents 0096818 + 1133a63 commit 50b2d39
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions conftest.py
Original file line number Diff line number Diff line change
@@ -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 (
Expand Down

0 comments on commit 50b2d39

Please sign in to comment.