Skip to content

Commit

Permalink
other prints in py3
Browse files Browse the repository at this point in the history
  • Loading branch information
mjirik committed Oct 19, 2018
1 parent ed0ca39 commit 34393fa
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions tests/gui_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def test_pyqtgraph_import_dict(self):
captions = {"int": "toto je int"}
import teigen.dictwidgetpg
params = teigen.dictwidgetpg.to_pyqtgraph_struct("pokus", cfg)
print params
print(params)
self.assertDictEqual(
params["children"][0],
{'type': 'bool', 'name': 'bool', 'value': True, "reconstruction_type": "bool"}
Expand Down Expand Up @@ -98,7 +98,7 @@ def test_pyqtgraph(self):
p = Parameter.create(**params)
# p = Parameter.create(name='params', type='group', children=params)
t = ParameterTree()
print p.getValues()
print(p.getValues())
lst = p.saveState()
vals = p.getValues()

Expand Down
8 changes: 4 additions & 4 deletions tests/teigen_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ def test_teigen_prepare_parameters_and_measurement(self):
Check string like generator_id
:return:
"""
print "test prepare parameters and measurement"
print("test prepare parameters and measurement")
import teigen.gui
tg = teigen.gui.Teigen()
tg.use_default_config()
Expand All @@ -183,15 +183,15 @@ def test_teigen_prepare_parameters_and_measurement(self):
tg.step1()
params = tg.get_config_and_measurement()
tg.step2()
print params
print(params)


def test_teigen_read_tube_skeleton_from_file(self):
"""
Read tube skeleton from file
:return:
"""
print "test read tube skeleton from file"
print("test read tube skeleton from file")
import teigen.gui
tg = teigen.gui.Teigen()
tg.use_default_config()
Expand All @@ -218,7 +218,7 @@ def test_teigen_read_tube_skeleton_from_file(self):
#op.join(path_to_script, "vt_biodur.yaml" ))
params = tg.get_config_and_measurement()
tg.step2()
print params
print(params)

if __name__ == '__main__':
unittest.main()

0 comments on commit 34393fa

Please sign in to comment.