Skip to content
Snippets Groups Projects
Commit 25b5d50f authored by André Anjos's avatar André Anjos :speech_balloon: Committed by Tiago de Freitas Pereira
Browse files

Fix py3 compatibility issue

parent 8c3b1190
No related branches found
No related tags found
1 merge request!37Issue 8 remove database configuration
...@@ -54,9 +54,6 @@ def check_parameters(args_file, args_cmdline): ...@@ -54,9 +54,6 @@ def check_parameters(args_file, args_cmdline):
if (isinstance(attr_file, (bool, str, int, list))) or (attr_file is None): if (isinstance(attr_file, (bool, str, int, list))) or (attr_file is None):
assert attr_cmdline == attr_file, '(%s) %r != %r' % \ assert attr_cmdline == attr_file, '(%s) %r != %r' % \
(attr, attr_cmdline, attr_file) (attr, attr_cmdline, attr_file)
else:
print '(%s) %r == %r?' % (attr, attr_cmdline, attr_file),
print attr_cmdline == attr_file, type(attr_cmdline)
def test_basic(): def test_basic():
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment