#!/bin/sh

set -e

socat tcp-l:6390,fork,reuseaddr tcp:127.0.0.1:6379 &

for py in $(py3versions -s)
do
   echo "[*] testing on $py:"
   $py -Wd -m pytest -k 'not test_hypothesis and not test_json and not test_no_script_error and not test_mixins' 2>&1
done

killall socat || true
