'Find a c file by name, taking into account the current dir can be
in a couple of typical places'

def _open_c_file(self, name):

    testdir = os.path.dirname(__file__)
    name = os.path.join(testdir, 'c_files', name)
    assert os.path.exists(name)
    return open(name, 'rU')
