@@ -0,0 +1,411 @@
+%0Afrom distutils import ccompiler%0A%0A%0Adef test_set_include_dirs(tmp_path):%0A    %22%22%22%0A    Extensions should build even if set_include_dirs is invoked.%0A    In particular, compiler-specific paths should not be overridden.%0A    %22%22%22%0A    c_file = tmp_path / 'foo.c'%0A    c_file.write_text('void PyInit_foo(void) %7B%7D%5Cn')%0A    compiler = ccompiler.new_compiler()%0A    compiler.set_include_dirs(%5B%5D)%0A    compiler.compile(%5Bc_file%5D)%0A

Add test capturing failed expectation.