Commit 72d9b41 1 parent 72a2d27 commit 72d9b41 Copy full SHA for 72d9b41
File tree 1 file changed +6
-3
lines changed
1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -1434,13 +1434,16 @@ def full_report(
1434
1434
1435
1435
Examples
1436
1436
--------
1437
+ >>> # ignore this line:
1438
+ >>> import pytest; pytest.skip('graphviz may not be installed')
1439
+
1437
1440
>>> import skrub
1438
1441
>>> c = skrub.var('a', 1) / skrub.var('b', 2)
1439
1442
>>> report = c.skb.full_report(open=False)
1440
1443
>>> report['result']
1441
1444
0.5
1442
1445
>>> report['error']
1443
- >>> report['report_path'] # doctest : +SKIP
1446
+ >>> report['report_path']
1444
1447
PosixPath('.../skrub_data/execution_reports/full_expr_report_.../index.html')
1445
1448
1446
1449
We pass data:
@@ -1453,9 +1456,9 @@ def full_report(
1453
1456
1454
1457
>>> report = c.skb.full_report({'a': 1, 'b': 0}, open=False)
1455
1458
>>> report['result']
1456
- >>> report['error'] # doctest : +SKIP
1459
+ >>> report['error']
1457
1460
ZeroDivisionError('division by zero')
1458
- >>> report['report_path'] # doctest : +SKIP
1461
+ >>> report['report_path']
1459
1462
PosixPath('.../skrub_data/execution_reports/full_expr_report_.../index.html')
1460
1463
""" # noqa : E501
1461
1464
from ._inspection import full_report
You can’t perform that action at this time.
0 commit comments