FEM: unit tests, fix
This commit is contained in:
@@ -25,7 +25,6 @@ __title__ = "Solver calculix FEM unit tests"
|
||||
__author__ = "Bernd Hahnebach"
|
||||
__url__ = "http://www.freecadweb.org"
|
||||
|
||||
import sys
|
||||
import unittest
|
||||
from os.path import join
|
||||
|
||||
@@ -140,10 +139,8 @@ class TestSolverCalculix(unittest.TestCase):
|
||||
def test_constraint_contact_solid_solid(
|
||||
self
|
||||
):
|
||||
# TODO does not pass on Python 2
|
||||
if sys.version_info.major < 3:
|
||||
fcc_print("Python 2: test aborted.")
|
||||
return
|
||||
# TODO does pass on my local machine, but not on travis
|
||||
return
|
||||
|
||||
from femexamples.constraint_contact_solid_solid import setup
|
||||
setup(self.document, "calculix")
|
||||
|
||||
@@ -26,6 +26,7 @@ __title__ = "Solver z88 FEM unit tests"
|
||||
__author__ = "Bernd Hahnebach"
|
||||
__url__ = "http://www.freecadweb.org"
|
||||
|
||||
import sys
|
||||
import unittest
|
||||
from os import listdir
|
||||
from os.path import join
|
||||
|
||||
Reference in New Issue
Block a user