diff --git a/meta-python/recipes-devtools/python/python3-wrapt/run-ptest b/meta-python/recipes-devtools/python/python3-wrapt/run-ptest
deleted file mode 100644
index 8d2017d39..000000000
--- a/meta-python/recipes-devtools/python/python3-wrapt/run-ptest
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/bin/sh
-
-pytest --automake
diff --git a/meta-python/recipes-devtools/python/python3-wrapt_1.17.0.bb b/meta-python/recipes-devtools/python/python3-wrapt_1.17.0.bb
index b72bafb6d..fae45fb70 100644
--- a/meta-python/recipes-devtools/python/python3-wrapt_1.17.0.bb
+++ b/meta-python/recipes-devtools/python/python3-wrapt_1.17.0.bb
@@ -6,11 +6,10 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=dc34cbad60bc961452eb7ade801d25f7"
 
 SRC_URI[sha256sum] = "5f370f952971e7d17c7d1ead40e49f32345a7f7a5373571ef44d800d06b1899d"
 
-inherit setuptools3 ptest
+inherit setuptools3 ptest-python-pytest
 
 SRCREV = "e663d4910a81d666786ac773ad7c16199b01d31b"
 SRC_URI += "git://github.com/GrahamDumpleton/wrapt;protocol=https;branch=develop \
-	file://run-ptest \
 "
 
 S = "${WORKDIR}/git"
@@ -18,15 +17,8 @@ S = "${WORKDIR}/git"
 # python3-misc for 'this' module
 RDEPENDS:${PN}-ptest += " \
 	python3-misc \
-	python3-pytest \
-	python3-unittest-automake-output \
 "
 
-do_install_ptest() {
-	install -d ${D}${PTEST_PATH}/tests
-	cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
-}
-
 RDEPENDS:${PN}:class-target += "\
     python3-stringold \
     python3-threading \
