Skip to content
This repository has been archived by the owner on Jan 13, 2024. It is now read-only.

Commit

Permalink
Update test_sklearn_2019.py
Browse files Browse the repository at this point in the history
  • Loading branch information
sdpython committed Jan 7, 2021
1 parent a6ff8eb commit 31095f2
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions _unittests/ut_talk_examples/test_sklearn_2019.py
Expand Up @@ -75,6 +75,11 @@ def test_sklearn_onnx_full(self):
self.assertEqual(exp, v.replace('\n', '').replace(' ', ''))

def test_doc_full(self):
try:
import cairo
except ImportError as e:
warnings.warn("Issue with pycairo %r." % e)
return
from jupytalk.talk_examples.sklearn2019 import onnxdocstring2html
rst = onnxdocstring2html(onnxdocstring2html.__doc__)
self.assertIsInstance(rst, HTML)
Expand Down

0 comments on commit 31095f2

Please sign in to comment.