mirror of
https://github.com/wassname/simpeg.git
synced 2026-07-08 04:50:44 +08:00
Merge branch 'master' of https://github.com/simpeg/simpegem
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
import os
|
||||
try:
|
||||
import SimPEG
|
||||
except ImportError, e:
|
||||
os.system('git clone https://github.com/simpeg/simpeg.git')
|
||||
os.system('mv simpeg/SimPEG temp')
|
||||
os.system('rm -rf simpeg')
|
||||
os.system('mv temp SimPEG')
|
||||
@@ -1,10 +1,8 @@
|
||||
from TestUtils import checkDerivative, Rosenbrock, OrderTest, getQuadratic
|
||||
|
||||
import os
|
||||
import glob
|
||||
import unittest
|
||||
|
||||
if __name__ == '__main__':
|
||||
import os
|
||||
import glob
|
||||
import unittest
|
||||
test_file_strings = glob.glob('test_*.py')
|
||||
module_strings = [str[0:len(str)-3] for str in test_file_strings]
|
||||
suites = [unittest.defaultTestLoader.loadTestsFromName(str) for str
|
||||
|
||||
Reference in New Issue
Block a user