Skip to content

Commit e51c4ff

Browse files
committed
Python 3
1 parent fbb8f69 commit e51c4ff

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

tests/test_odm1/test_odmdata/test_memory_db_1_1.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ def test_get_data_values(self):
3131
def test_update_points(self):
3232
self.memory_db.update([{"value":15,"id":1}])
3333
dvs = self.memory_db.getDataValuesDF()
34-
print dvs["DataValue"]
34+
print ( dvs["DataValue"] )
3535
assert dvs["DataValue"][1-1] == 9
3636

3737
def test_update_value(self):

tests/test_odm2/test_createservice.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ def build_db(self):
3232
for line in ddl.split(');')[:-1]:
3333
try:
3434
db.engine.execute(line + ');')
35-
except Exception, e:
35+
except Exception as e:
3636
print e
3737

3838
self.write = CreateODM2(db)

tests/test_odm2/test_readservice.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ def build_db(self):
5858
for line in ddl.split(');')[:-1]:
5959
try:
6060
db.engine.execute(line + ');')
61-
except Exception, e:
61+
except Exception as e:
6262
print e
6363

6464
self.reader = ReadODM2(db)

0 commit comments

Comments
 (0)