Skip to content

Commit

Permalink
switching to beeprint in small steps experiment
Browse files Browse the repository at this point in the history
  • Loading branch information
hjwp committed Nov 8, 2023
1 parent f6b6a58 commit 9600163
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pytest_icdiff.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# pylint: disable=inconsistent-return-statements
import shutil
from pprintpp import pformat
import beeprint
import icdiff

AUTO_COLS = shutil.get_terminal_size().columns
Expand All @@ -13,6 +13,8 @@
# f.write(' '.join(str(thing) for thing in things))
# f.write('\n')

def pformat(*args, **kwargs) -> str: # temporary wrapper to minimise diff
return str(beeprint.pp(*args, **kwargs, output=False))

def pytest_addoption(parser):
parser.addoption(
Expand Down

0 comments on commit 9600163

Please sign in to comment.