summaryrefslogtreecommitdiffstats
path: root/lang/python/python-gnupg/test.sh
blob: 72706f1895d5200c04379d2c3ce4d534a7f2e7ac (plain)
1
2
3
4
5
6
7
8
9
10
#!/bin/sh

[ "$1" = python3-gnupg ] || exit 0

python3 - << 'EOF'
import gnupg

gpg = gnupg.GPG.__new__(gnupg.GPG)
assert gpg is not None
EOF