#!/bin/sh
python3 -m unittest *_specs.py

#!/bin/sh
py3=python3
if [[ $(python --version) == Python\ 3* ]]; then
    py3=python
fi
$py3 -m unittest *_specs.py

Make specs script work if "python" is Python 3
Make specs script work if "python" is Python 3
