Skip to content

Commit

Permalink
remove loguru in test
Browse files Browse the repository at this point in the history
  • Loading branch information
rangehow committed Oct 19, 2024
1 parent 7a87465 commit 7fb4daa
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions tests/test_json_parsing.py
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
import unittest
from loguru import logger
# from loguru import logger
from nano_graphrag._utils import convert_response_to_json

class TestJSONExtraction(unittest.TestCase):

def setUp(self):
"""Set up runs before each test case."""
logger.remove()
logger.add(lambda msg: None) # disallow output
...

def test_standard_json(self):
"""Test standard JSON extraction."""
Expand Down

0 comments on commit 7fb4daa

Please sign in to comment.