diff --git a/meta-python/recipes-devtools/python/python3-propcache_0.5.4.bb b/meta-python/recipes-devtools/python/python3-propcache_0.5.4.bb
index a931791660..77261cd1c1 100644
--- a/meta-python/recipes-devtools/python/python3-propcache_0.5.4.bb
+++ b/meta-python/recipes-devtools/python/python3-propcache_0.5.4.bb
@@ -21,4 +21,9 @@ RDEPENDS:${PN}-ptest += " \
 	python3-statistics \
 "

+do_install_ptest:append() {
+	# tests the in-tree build backend, which is not installed
+	rm -f ${D}${PTEST_PATH}/tests/test_pep517_backend.py
+}
+
 BBCLASSEXTEND += "native nativesdk"
