• Éric Araujo's avatar
    Refactor the copying of xxmodule.c in packaging tests (#12141). · 60b0d31e
    Éric Araujo authored
    I need to copy this file in another test too, so I moved the support
    code to distutils.tests.support and improved it to use proper skip
    machinery instead of custom print/return/test suite fiddling.
    
    Contrary to my similar change in distutils tests, I did not add support
    for finding xxmodule.c when running a test from the tests directory,
    because in that case my compiler didn’t find Python.h, so I figured it’s
    better to skip than to fail.
    60b0d31e
test_command_build_ext.py 15.9 KB