edoddridge / aronnax

An idealised isopycnal model that can be run either with n+1/2 layers, or with n layers and variable bathymetry.
http://aronnax.readthedocs.io/en/latest/
MIT License
23 stars 5 forks source link

Compatibility with Python 3 #186

Closed edoddridge closed 6 years ago

edoddridge commented 6 years ago

Aronnax should work with Python 3. Currently it doesn't.

The first error that I find is when running pytest - one of the test functions uses a Python 2 style print statement. It's likely that there will be more issues.

If it proves too onerous to support both versions of Python, then we should transition to Python 3.

The test suite should be updated to run the tests under Python 3, either in addition to Python 2, or instead of it.