File: upstream

package info (click to toggle)
python-dateutil 2.8.1-6
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 1,500 kB
  • sloc: python: 12,688; makefile: 151; sh: 70
file content (15 lines) | stat: -rwxr-xr-x 176 bytes parent folder | download | duplicates (2)
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 dateutil/test $TMPDIR
cd $TMPDIR
python3 -mpytest