Skip to content

Commit e531c2e

Browse files
authored
Merge pull request #450 from KhiopsML/fix-samples-tests
Fix KhiopsVersion import in samples tests
1 parent 7ebfb68 commit e531c2e

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

tests/test_samples.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
import unittest
99

1010
import khiops.core as kh
11+
from khiops.core.internals.version import KhiopsVersion
1112
from khiops.samples import samples, samples_sklearn
1213
from tests.test_helper import KhiopsTestHelper
1314

@@ -22,8 +23,8 @@ def test_samples(self):
2223
"""Test if all samples run without problems"""
2324
# Obtain the runner version and set the minimal requirements for some samples
2425
min_version = {
25-
samples.detect_data_table_format: kh.KhiopsVersion("10.0.1"),
26-
samples.deploy_coclustering: kh.KhiopsVersion("10.0.1"),
26+
samples.detect_data_table_format: KhiopsVersion("10.0.1"),
27+
samples.deploy_coclustering: KhiopsVersion("10.0.1"),
2728
}
2829

2930
# Run the samples

0 commit comments

Comments
 (0)