We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e64c2f3 commit e1f7110Copy full SHA for e1f7110
tests/nuodb_basic_test.py
@@ -18,7 +18,7 @@
18
from .nuodb_base import NuoBase
19
from .mock_tzs import EscapingTimestamp
20
from .mock_tzs import Local
21
-from pynuodb.exception import DataError
+from pynuodb.exception import DataError, ProgrammingError
22
23
24
class NuoDBBasicTest(NuoBase):
@@ -462,7 +462,11 @@ def test_connection_properties(self):
462
#Get NuoDB release
463
con = self._connect()
464
cursor = con.cursor()
465
- cursor.execute("select getReleaseversion() from dual")
+ try:
466
+ cursor.execute("select getReleaseversion() from dual")
467
+ except ProgrammingError as pe:
468
+ return #2.0 or earlier, skip test
469
+
470
version = cursor.fetchone()[0]
471
majorVersion = version[0]
472
minorVersion = version[2]
0 commit comments