Got py.test to work with the following two changes:
1) Change starting date in test_tracpy_class.py so that there's no IndexError
2) Had to convert the .nc file to netCDF4-classic and make ocean_time an unlimited dimension so that netCDF4.MFDataset does not complain.
Got py.test to work with the following two changes: 1) Change starting date in test_tracpy_class.py so that there's no IndexError 2) Had to convert the .nc file to netCDF4-classic and make ocean_time an unlimited dimension so that netCDF4.MFDataset does not complain.
FYI, I got py.test to work nosetests doesn't run.