1. zjes
  2. rope_py3k

Source

rope_py3k / ropetest / objectinfertest.py

Diff from to

File ropetest/objectinfertest.py

         self.assertEquals(c_class, a_var.get_type())
 
     def test_handling_generator_functions_for_strs(self):
-        mod = self.pycore.create_module(self.project.root, 'mod')
+        mod = testutils.create_module(self.project, 'mod')
         mod.write('def f():\n    yield ""\n'
                   'for s in f():\n    a_var = s\n')
         pymod = self.pycore.resource_to_pyobject(mod)