File: upstream

package info (click to toggle)
python-email-validator 1.3.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 204 kB
  • sloc: python: 938; makefile: 40; sh: 15
file content (15 lines) | stat: -rwxr-xr-x 168 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh

set -e
set -x

cleanup() {
    [ -z "$TMPDIR" ] || rm -r "$TMPDIR"
}
trap cleanup EXIT

TMPDIR=$(mktemp -d)

cp -a tests $TMPDIR
cd $TMPDIR
python3 -mpytest