Skip to content

Commit 52875a6

Browse files
committed
Corrections
1 parent 3108bfc commit 52875a6

File tree

2 files changed

+1
-10
lines changed

2 files changed

+1
-10
lines changed

bin/install_travis.sh

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,6 @@ if [[ "${WITH_SYMPY}" != "no" ]]; then
99
export conda_pkgs="${conda_pkgs} sympy";
1010
fi
1111

12-
if [[ "${TEST_SYMPY}" == "yes" ]]; then
13-
export TEST_SYMPY = 1;
14-
fi
15-
1612
if [[ "${WITH_NUMPY}" != "no" ]]; then
1713
export conda_pkgs="${conda_pkgs} numpy";
1814
fi

bin/test_python.py

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,12 @@
55
if not symengine.test():
66
raise Exception('Tests failed')
77

8-
try:
8+
if TEST_SYMPY:
99
import sympy
1010
from sympy.core.cache import clear_cache
1111
import atexit
1212

1313
atexit.register(clear_cache)
14-
have_sympy = True
15-
except ImportError:
16-
have_sympy = False
17-
18-
if TEST_SYMPY and have_sympy:
1914
print('Testing SYMPY')
2015
if not sympy.test('sympy/physics/mechanics'):
2116
raise Exception('Tests failed')

0 commit comments

Comments
 (0)