python 3 compatibility

remove __eq__ and __ne__ in Option
This commit is contained in:
gwen
2013-08-28 11:33:43 +02:00
committed by Emmanuel Garette
parent fc9aa7fad5
commit fbf05ba5e4
16 changed files with 161 additions and 173 deletions

View File

@ -71,7 +71,7 @@ def test_group_is_hidden():
prop = []
try:
config.gc.dummy = False
except PropertiesOptionError, err:
except PropertiesOptionError as err:
prop = err.proptype
assert 'hidden' in prop
@ -89,7 +89,7 @@ def test_group_is_hidden_multi():
prop = []
try:
objspace.append('std')
except PropertiesOptionError, err:
except PropertiesOptionError as err:
prop = err.proptype
assert 'hidden' in prop
setting[obj].remove('hidden')