File: python3-all

package info (click to toggle)
python-crypto 2.6.1-5%2Bdeb8u1
  • links: PTS, VCS
  • area: main
  • in suites: jessie
  • size: 3,032 kB
  • ctags: 3,600
  • sloc: ansic: 12,466; python: 10,482; sh: 41; makefile: 16
file content (12 lines) | stat: -rw-r--r-- 280 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/bash
set -e

PYVERS=$(py3versions -vi)
PYVERS_DEFAULT=$(py3versions -vd)

for py in $PYVERS ; do
  if [ "$py" != "$PYVERS_DEFAULT" ] ; then
    python$py -c "import Crypto.SelfTest; Crypto.SelfTest.run()" \
      2> >( grep -v RandomPool_DeprecationWarning >&2 )
  fi
done