Commit 7e63228e authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

py2/py3: 2to3 -f paren.

parent 493e7e26
...@@ -113,7 +113,7 @@ def Application_resolveConflict(self, old_state, saved_state, new_state): ...@@ -113,7 +113,7 @@ def Application_resolveConflict(self, old_state, saved_state, new_state):
new_state['test_distributing_node'] = test_distributing_node_set.pop() new_state['test_distributing_node'] = test_distributing_node_set.pop()
old, saved, new = [set(state.pop('test_processing_nodes', {}).items()) old, saved, new = [set(state.pop('test_processing_nodes', {}).items())
for state in old_state, saved_state, new_state] for state in (old_state, saved_state, new_state)]
# The value of these attributes don't have proper __eq__ implementation. # The value of these attributes don't have proper __eq__ implementation.
for attr in '__before_traverse__', '__before_publishing_traverse__': for attr in '__before_traverse__', '__before_publishing_traverse__':
del old_state[attr], saved_state[attr] del old_state[attr], saved_state[attr]
......
...@@ -87,6 +87,9 @@ class Python3StyleTest(ERP5TypeTestCase): ...@@ -87,6 +87,9 @@ class Python3StyleTest(ERP5TypeTestCase):
def test_numliteralsFixApplied(self): def test_numliteralsFixApplied(self):
self._testFixer('numliterals') self._testFixer('numliterals')
def test_numliteralsFixApplied(self):
self._testFixer('paren')
def test_raiseFixApplied(self): def test_raiseFixApplied(self):
self._testFixer('raise') self._testFixer('raise')
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment