From cf009c88b0dc7221953b1188a1d53efa84de7e70 Mon Sep 17 00:00:00 2001 From: Vincenzo Eduardo Padulano Date: Thu, 6 Mar 2025 14:38:52 +0100 Subject: [PATCH] [NFC] Do not rely on string representation in test --- bindings/pyroot/pythonizations/test/string_view.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/bindings/pyroot/pythonizations/test/string_view.py b/bindings/pyroot/pythonizations/test/string_view.py index bbaeda77d986b..0dbd84a8e2926 100644 --- a/bindings/pyroot/pythonizations/test/string_view.py +++ b/bindings/pyroot/pythonizations/test/string_view.py @@ -26,8 +26,7 @@ def test_rdataframe(self): f.WriteObject(t, treename) df = ROOT.RDataFrame(treename, filename) - self.assertEqual( - str(df), "A data frame built on top of the tree dataset.") + self.assertEqual(df.GetNRuns(), 0) os.remove(filename) def test_17497(self):