Skip to content

Commit c3d1c39

Browse files
committed
[NFC] Do not rely on string representation in test
1 parent 6ed447c commit c3d1c39

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

bindings/pyroot/pythonizations/test/string_view.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,7 @@ def test_rdataframe(self):
2626
f.WriteObject(t, treename)
2727

2828
df = ROOT.RDataFrame(treename, filename)
29-
self.assertEqual(
30-
str(df), "A data frame built on top of the tree dataset.")
29+
self.assertEqual(df.GetNRuns(), 0)
3130
os.remove(filename)
3231

3332
def test_17497(self):

0 commit comments

Comments
 (0)