summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorGard Spreemann <gspr@nonempty.org>2020-07-10 11:38:32 +0200
committerGard Spreemann <gspr@nonempty.org>2020-07-10 11:44:44 +0200
commit3873435914e8f985f0e86b5fd5ba52558174306b (patch)
treec856ebf7f32c53e38ed9aa0f14da7db3f7ec942a /debian
parentbf72d223efe506304e276e05c0166d4814e290c0 (diff)
Completely disable test that imports optional module too early.
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}."