Skip to content

Commit

Permalink
Switched to looseVersioning in executionflow test
Browse files Browse the repository at this point in the history
  • Loading branch information
tvincentNuoDB committed Jul 1, 2015
1 parent d485b59 commit 3a892b1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/nuodb_executionflow_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

import unittest
import os
from distutils.version import StrictVersion
from distutils.version import LooseVersion

from .nuodb_base import NuoBase
from pynuodb.exception import Error
Expand Down Expand Up @@ -194,7 +194,7 @@ def test_error_after_error(self):

def version_lt(version):
current_version = os.getenv('NUODB_VERSION', None)
if current_version is not None and StrictVersion(current_version) < StrictVersion(version):
if current_version is not None and LooseVersion(current_version) < LooseVersion(version):
return True

return False
Expand Down

0 comments on commit 3a892b1

Please sign in to comment.