diff --git a/meta-python/recipes-devtools/python/python3-xlrd/run-ptest b/meta-python/recipes-devtools/python/python3-xlrd/run-ptest
deleted file mode 100644
index 8d2017d39..000000000
--- a/meta-python/recipes-devtools/python/python3-xlrd/run-ptest
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/bin/sh
-
-pytest --automake
diff --git a/meta-python/recipes-devtools/python/python3-xlrd_2.0.1.bb b/meta-python/recipes-devtools/python/python3-xlrd_2.0.1.bb
index aedf483be..5c572c615 100644
--- a/meta-python/recipes-devtools/python/python3-xlrd_2.0.1.bb
+++ b/meta-python/recipes-devtools/python/python3-xlrd_2.0.1.bb
@@ -10,13 +10,12 @@ SRC_URI[sha256sum] = "f72f148f54442c6b056bf931dbc34f986fd0c3b0b6b5a58d013c9aef27
 
 
 SRC_URI = "git://github.com/python-excel/xlrd.git;branch=master;protocol=https \
-           file://run-ptest \
 "
 SRCREV = "b8d573e11ec149da695d695c81a156232b89a949"
 
 S = "${WORKDIR}/git"
 
-inherit ptest setuptools3
+inherit ptest-python-pytest setuptools3
 
 RDEPENDS:${PN} += " \
     python3-compression \
@@ -31,9 +30,4 @@ RDEPENDS:${PN}-ptest += " \
     python3-unittest-automake-output \
 "
 
-do_install_ptest() {
-    install -d ${D}${PTEST_PATH}/tests
-    cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
-}
-
 BBCLASSEXTEND = "native nativesdk"
