Vous avez reçu un message "Your GitLab account has been locked ..." ? Pas d'inquiétude : lisez cet article https://docs.gricad-pages.univ-grenoble-alpes.fr/help/unlock/

Commit 5b99cdc6 authored by EXT José Ignacio Requeno Jarabo's avatar EXT José Ignacio Requeno Jarabo
Browse files

Bugfix of OracleMatlab tests

parent 8e037c17
......@@ -3,11 +3,9 @@ import tempfile as tf
import unittest
import copy
from ParetoLib.Oracle.OracleMatlab import OracleMatlab
MATLAB_INSTALLED = True
try:
import matlab
from ParetoLib.Oracle.OracleMatlab import OracleMatlab
except ImportError:
MATLAB_INSTALLED = False
......
......@@ -8,7 +8,6 @@ import pytest
from ParetoLib.Search.Search import Search2D, Search3D, SearchND
from ParetoLib.Search.ResultSet import ResultSet
from ParetoLib.Oracle.OracleMatlab import OracleMatlab
from ParetoLib.Oracle.OracleFunction import OracleFunction
from ParetoLib.Oracle.OraclePoint import OraclePoint
from ParetoLib.Oracle.OracleSTL import OracleSTL
......@@ -200,7 +199,7 @@ class SearchOracleFunctionTestCase(SearchTestCase):
MATLAB_INSTALLED = True
try:
import matlab
from ParetoLib.Oracle.OracleMatlab import OracleMatlab
except ImportError:
MATLAB_INSTALLED = False
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment