File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -66,6 +66,10 @@ def setUpClass(cls):
66
66
cls .conn .setPassword ('<YourStrong!Passw0rd>' )
67
67
assert cls .conn .open (), cls .conn .lastError ().text ()
68
68
69
+ # Triggers a segfault in the sql server odbc driver on Travis - TODO test with more recent Ubuntu base image
70
+ if os .environ .get ('TRAVIS' , '' ) == 'true' :
71
+ del cls .getEditableLayer
72
+
69
73
@classmethod
70
74
def tearDownClass (cls ):
71
75
"""Run after all tests"""
@@ -117,10 +121,6 @@ def getSource(self):
117
121
return vl
118
122
119
123
def getEditableLayer (self ):
120
- # Triggers a segfault in the sql server odbc driver on Travis - TODO test with more recent Ubuntu base image
121
- if os .environ .get ('TRAVIS' , '' ) == 'true' :
122
- return
123
-
124
124
return self .getSource ()
125
125
126
126
def enableCompiler (self ):
You can’t perform that action at this time.
0 commit comments