#NEWLINE# def test_include_1b( ) : #NEWLINE# #INDENT# ffi1 = FFI ( ) #NEWLINE# ffi1 . cdef ( 'int foo1(int);' ) #NEWLINE# lib1 = verify ( ffi1 , 'test_include_1b_parent' , 'int foo1(int x) { return x + 10; }' ) #NEWLINE# ffi = FFI ( ) #NEWLINE# ffi . include ( ffi1 ) #NEWLINE# ffi . cdef ( 'int foo2(int);' ) #NEWLINE# lib = verify ( ffi , 'test_include_1b' , 'int foo2(int x) { return x - 5; }' ) #NEWLINE# assert ( lib . foo2 ( 42 ) == 37 ) #NEWLINE# assert ( lib . foo1 ( 42 ) == 52 ) #NEWLINE# assert ( lib . foo1 is lib1 . foo1 )