File: import

package info (click to toggle)
pyqt5webengine 5.15.7-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 304 kB
  • sloc: sh: 13; makefile: 13
file content (18 lines) | stat: -rw-r--r-- 374 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/sh

set -e

cd $AUTOPKGTEST_TMP

cat <<EOF >test_import.py
from PyQt5.QtWebEngineCore import QWebEngineHttpRequest
from PyQt5.QtWebEngineWidgets import QWebEngineView
from PyQt5.QtWebEngine import QQuickWebEngineProfile
EOF

for py in $(py3versions -s); do
    echo "testing $py"
    $py test_import.py
    echo "testing $py-dbg"
    $py-dbg test_import.py 2>&1
done