chaserileyroberts / mltest

Testing framework to simplify writing ML unit tests.
MIT License
346 stars 25 forks source link

Fixes compatibility issues with python 2.7 caused by the absolute imp… #1

Closed dekromp closed 6 years ago

dekromp commented 6 years ago

…ort in init.py.

dekromp commented 6 years ago

Hi, thanks for the great work! Unfortunately I encountered an error when trying to install your library on my system which seems to be caused by python 2/3 incompatibility. (I am using python 2.7). >>> import mltest Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/local/lib/python2.7/dist-packages/mltest/__init__.py", line 1, in <module> from mltest.mltest import * ImportError: No module named mltest

The single line in the __init__.py resolves this.

chaserileyroberts commented 6 years ago

Looks good! Glad to know people are using this in the wild. I'll push this to pip once I'm back from vacation.

chaserileyroberts commented 6 years ago

Done! You should be able to download the fixed version on pip. The new version is 0.1.1