Commits

shillo  committed df82094

Coding style fix.

  • Participants
  • Parent commits 6bcb3ab

Comments (0)

Files changed (1)

File ropetest/refactor/restructuretest.py

                           'i = 1 * 2\n', self.mod.read())
 
     def test_statement_after_string_and_column(self):
-        mod_text = '''
-def f(x):
-   with open('bla') as f: raise 'break'
-'''
+        mod_text = '''def f(x):\n    with open('bla') as f: raise ValueError('test exception')'''
         self.mod.write(mod_text)
         refactoring = restructure.Restructure(self.project, '${a}', '${a}')
         self.project.do(refactoring.get_changes())