import unittest

from compiling._utils import *

class SourceGeneratorTestCase(unittest.TestCase):
    def test_source_generator_for_c(self):
        x = source_generator('c').next()
        self.assertTrue('target' in x)
        self.assertTrue('source' in x)

if __name__ == '__main__':
    unittest.main()

@@ -1,12 +1,34 @@
+#!/usr/bin/env python%0A
 import unitt
@@ -169,16 +169,21 @@
     x = 
+next(
 source_g
@@ -199,14 +199,8 @@
 'c')
-.next(
 )%0A  

fix next for python3 compatible