mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-25 23:09:49 +01:00
refactor diff and show to use new table ui and new data structure (#5872)
* use new table data structure for diff and show * fix params diff showing changes * metrics show: use default precision * skip precision format for exp diff params * exp diff: separate tables in --quiet mode * change precision to signify significants digits changed f specifier to g, so that we show significant digits instead of fractional digits. This does changes how precision worked for metrics/params diff/show.
This commit is contained in:
+3
-1
@@ -192,10 +192,12 @@ class TestDvc(TestDvcFixture, TestCase):
|
||||
TestDvcFixture.__init__(self)
|
||||
TestCase.__init__(self, methodName)
|
||||
self._caplog = None
|
||||
self._capsys = None
|
||||
|
||||
@pytest.fixture(autouse=True)
|
||||
def inject_fixtures(self, caplog):
|
||||
def inject_fixtures(self, caplog, capsys):
|
||||
self._caplog = caplog
|
||||
self._capsys = capsys
|
||||
|
||||
|
||||
class TestDvcGit(TestDvcGitFixture, TestCase):
|
||||
|
||||
Reference in New Issue
Block a user