diff python/testc3.py @ 217:8b2e5f3cd579

Removed some stale python source files
author Windel Bouwman
date Fri, 05 Jul 2013 14:13:59 +0200
parents c1ccb1cb4cef
children 3f6c30a5d234
line wrap: on
line diff
--- a/python/testc3.py	Fri Jul 05 13:26:51 2013 +0200
+++ b/python/testc3.py	Fri Jul 05 14:13:59 2013 +0200
@@ -109,6 +109,7 @@
         if not ircode:
             self.diag.printErrors(snippet)
         self.assertTrue(ircode)
+        return ircode
 
     def testFunctArgs(self):
       snippet = """
@@ -271,7 +272,8 @@
         }
 
         """
-        self.expectOK(snippet)
+        ircode = self.expectOK(snippet)
+        self.assertEqual(1, len(ircode.Functions))
 
 if __name__ == '__main__':
    unittest.main()