Skip to content

Commit

Permalink
change to looseversion
Browse files Browse the repository at this point in the history
  • Loading branch information
joleroi committed Mar 25, 2016
1 parent f9883a3 commit ab7a4c4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions regions/io/tests/test_ds9_language.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
import distutils.version as v
import astropy.version as astrov

_ASTROPY_MINVERSION = v.StrictVersion('1.1')
_ASTROPY_VERSION = v.StrictVersion(astrov.version)
_ASTROPY_MINVERSION = v.LooseVersion('1.1')
_ASTROPY_VERSION = v.LooseVersion(astrov.version)

@pytest.mark.xfail(_ASTROPY_VERSION < _ASTROPY_MINVERSION,
reason='Some coordinates systems not available in older version of astropy')
Expand Down

0 comments on commit ab7a4c4

Please sign in to comment.