diff --git a/Lib/packaging/tests/test_command_install_dist.py b/Lib/packaging/tests/test_command_install_dist.py index ea7c3d35628..d27e597436f 100644 --- a/Lib/packaging/tests/test_command_install_dist.py +++ b/Lib/packaging/tests/test_command_install_dist.py @@ -204,6 +204,7 @@ class InstallTestCase(support.TempdirManager, Extension('xx', ['xxmodule.c'])]) os.chdir(project_dir) support.copy_xxmodule_c(project_dir) + support.fixup_build_ext(dist.get_command_obj('build_ext')) cmd = install_dist(dist) dist.command_obj['install_dist'] = cmd