summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
Diffstat (limited to 'debian')
-rwxr-xr-xdebian/tests/python-upstream.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/debian/tests/python-upstream.sh b/debian/tests/python-upstream.sh
index 8fd4695f..36d5031c 100755
--- a/debian/tests/python-upstream.sh
+++ b/debian/tests/python-upstream.sh
@@ -9,6 +9,8 @@ cp $helper $AUTOPKGTEST_TMP
cp -R $testdir $AUTOPKGTEST_TMP
cd $AUTOPKGTEST_TMP
+rm -f test/test_dtm.py # Imports torch too early.
+
for py3ver in $(py3versions -vs)
do
echo "Running tests with Python ${py3ver}."