Skip to content

Commit 3a892b1

Browse files
committed
Switched to looseVersioning in executionflow test
1 parent d485b59 commit 3a892b1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/nuodb_executionflow_test.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
import unittest
1111
import os
12-
from distutils.version import StrictVersion
12+
from distutils.version import LooseVersion
1313

1414
from .nuodb_base import NuoBase
1515
from pynuodb.exception import Error
@@ -194,7 +194,7 @@ def test_error_after_error(self):
194194

195195
def version_lt(version):
196196
current_version = os.getenv('NUODB_VERSION', None)
197-
if current_version is not None and StrictVersion(current_version) < StrictVersion(version):
197+
if current_version is not None and LooseVersion(current_version) < LooseVersion(version):
198198
return True
199199

200200
return False

0 commit comments

Comments
 (0)