From 244b1b9bf5e688e81297e0b9c9f73c2b875032b8 Mon Sep 17 00:00:00 2001
From: Jochen Sprickerhof <jspricke@debian.org>
Date: Thu, 15 Dec 2022 00:01:35 +0100
Subject: [PATCH] Switch to autopkgtest-pkg-pybuild

---
 debian/control       | 2 +-
 debian/tests/control | 3 ---
 debian/tests/pytest  | 8 --------
 3 files changed, 1 insertion(+), 12 deletions(-)
 delete mode 100644 debian/tests/control
 delete mode 100644 debian/tests/pytest

diff --git a/debian/control b/debian/control
index d7d709f..74c15b6 100644
--- a/debian/control
+++ b/debian/control
@@ -22,7 +22,7 @@ Homepage: https://github.com/alexmojaki/stack_data
 Vcs-Git: https://salsa.debian.org/python-team/packages/python-stack-data.git
 Vcs-Browser: https://salsa.debian.org/python-team/packages/python-stack-data
 Rules-Requires-Root: no
-Testsuite: autopkgtest-pkg-python
+Testsuite: autopkgtest-pkg-pybuild
 
 Package: python3-stack-data
 Architecture: all
diff --git a/debian/tests/control b/debian/tests/control
deleted file mode 100644
index db18797..0000000
--- a/debian/tests/control
+++ /dev/null
@@ -1,3 +0,0 @@
-Tests: pytest
-Depends: @, python3-all, python3-pytest, python3-pygments, cython3, python3-all-dev, build-essential
-Restrictions: allow-stderr
diff --git a/debian/tests/pytest b/debian/tests/pytest
deleted file mode 100644
index 26f9023..0000000
--- a/debian/tests/pytest
+++ /dev/null
@@ -1,8 +0,0 @@
-#!/bin/sh -e
-
-export HOME=$AUTOPKGTEST_TMP
-cp -r tests $AUTOPKGTEST_TMP
-cd $AUTOPKGTEST_TMP
-for py in $(py3versions -s); do
-    $py -m pytest
-done
-- 
GitLab