Skip to content
This repository was archived by the owner on Jun 30, 2022. It is now read-only.

Commit 9c88edc

Browse files
committed
update to python 3.6
1 parent 8918c78 commit 9c88edc

6 files changed

Lines changed: 9 additions & 8 deletions

File tree

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
language: python
22
python:
33
- "2.7"
4+
- "3.6"
45
install:
56
- pip install -U -r requirements.txt
67
- pip install coveralls

requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@ requests>=2.2.1
22
marshmallow>=2.12.1
33
numpy==1.14.2
44
pandas==0.22.0
5+
future

tests/experiment_client_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
from mljar.client.dataset import DatasetClient
1111
from mljar.client.experiment import ExperimentClient
1212

13-
from project_based_test import ProjectBasedTest
13+
from .project_based_test import ProjectBasedTest
1414

1515
class ExperimentClientTest(ProjectBasedTest):
1616

tests/mljar_test.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
from mljar.client.project import ProjectClient
1111
from mljar.client.dataset import DatasetClient
12-
from project_based_test import ProjectBasedTest
12+
from .project_based_test import ProjectBasedTest
1313
from mljar.exceptions import BadValueException, IncorrectInputDataException
1414
from mljar.utils import MLJAR_DEFAULT_TUNING_MODE
1515
from mljar import Mljar
@@ -214,7 +214,6 @@ def test_non_wait_fit(self):
214214
self.assertTrue(pred is not None)
215215
# get MSE
216216
score = self.mse(pred, self.y)
217-
print 'Score', score
218217
self.assertTrue(score < 0.99)
219218

220219
def test_retrive_models(self):

tests/result_client_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
from mljar.client.result import ResultClient
1313
from mljar.exceptions import BadRequestException
1414

15-
from project_based_test import ProjectBasedTest
15+
from .project_based_test import ProjectBasedTest
1616

1717
class ResultClientTest(ProjectBasedTest):
1818

tests/run.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@
44
import os
55
import unittest
66

7-
#from .project_client_test import ProjectClientTest
8-
#from .dataset_client_test import DatasetClientTest
7+
from .project_client_test import ProjectClientTest
8+
from .dataset_client_test import DatasetClientTest
99
from .experiment_client_test import ExperimentClientTest
10-
#from .result_client_test import ResultClientTest
11-
#from .mljar_test import MljarTest
10+
from .result_client_test import ResultClientTest
11+
from .mljar_test import MljarTest
1212

1313
if __name__ == '__main__':
1414
unittest.main()

0 commit comments

Comments
 (0)