Skip to content

Commit 4e90fae

Browse files
committed
Isolate test to run for versions 2.1 and above
1 parent 7507647 commit 4e90fae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/nuodb_cursor_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ def test_executemany_somefail(self):
129129

130130
def test_result_set_gets_closed(self):
131131
current_version = getenv('NUODB_VERSION', None) # skipif <2.1
132-
if current_version is not None and LooseVersion(current_version) < LooseVersion("2.1"):
132+
if current_version is not None and not LooseVersion(current_version) < LooseVersion("2.1"):
133133
# Server will throw error after 1000 open result sets
134134
con = self._connect()
135135
for j in [False, True]:

0 commit comments

Comments
 (0)