csdms / pymt

A Python toolkit for running and coupling Earth surface models
https://pymt.readthedocs.io
MIT License
52 stars 20 forks source link

String comparison causing test to fail on Appveyor #95

Closed mdpiper closed 4 years ago

mdpiper commented 5 years ago

The test_find_metadata test in test_setup.py is failing on Windows because os.path.abspath returns a lowercase drive letter, "c:" which fails when compared to uppercase "C:".

mdpiper commented 5 years ago

@mcflugen suggests fixing this with pathlib.

mdpiper commented 5 years ago

Interestingly, the suspect test didn't fail in #96. Why?