MTgeophysics / mtpy

Python toolbox for standard Magnetotelluric (MT) data analysis
GNU General Public License v3.0
145 stars 66 forks source link

Fix tests for Python 3.7 #113

Closed brenmous closed 4 years ago

brenmous commented 4 years ago

Fixes tests for Python 3.7 and switches Travis CI to Python 3.7.

Change summary:

That's the major changes! There were some minor syntax fixes as well.

brenmous commented 4 years ago

That last merge commit was fixing a conflict in get_penetration_depth_by_index

zhang01GA commented 4 years ago

I will have a review (For some unknown reason, I have not been receiving any notifications from github recently)

zhang01GA commented 4 years ago

Checked out this branch and ran all unit-tests in my Ubuntu18.04 with ananconda Py3.7: ========== 192 passed, 6 skipped, 3168 warnings in 1493.93s (0:24:53) ========

(mtpy3.7) fzhang@zubuntu1804 ~/Githubz/mtpy (bren-fixtests) 
 $ pytest -v --ignore=tests/SmartMT tests

Will try win10 and review code changes later.

brenmous commented 4 years ago

Thanks Fei, I actually forgot to test this on Windows so please let me know if there's issues