-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathtest_nb_poly.py
More file actions
34 lines (27 loc) · 991 Bytes
/
test_nb_poly.py
File metadata and controls
34 lines (27 loc) · 991 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# -*- coding: utf-8 -*-
"""
@brief test log(time=82s)
"""
import os
import unittest
from pyquickhelper.loghelper import fLOG
from pyquickhelper.pycode import (
add_missing_development_version, skipif_appveyor)
from pyquickhelper.ipythonhelper import test_notebook_execution_coverage
import mlinsights
class TestNotebookPolynomialFeatures(unittest.TestCase):
def setUp(self):
add_missing_development_version(["jyquickhelper"], __file__, hide=True)
@skipif_appveyor('too long')
def test_notebook_poly(self):
fLOG(
__file__,
self._testMethodName,
OutputPrint=__name__ == "__main__")
self.assertTrue(mlinsights is not None)
folder = os.path.join(os.path.dirname(__file__),
"..", "..", "_doc", "notebooks", "sklearn")
test_notebook_execution_coverage(
__file__, "poly", folder, 'mlinsights', fLOG=fLOG)
if __name__ == "__main__":
unittest.main()