[tox]
envlist = py36, py37, py38, py39, py310

[testenv]
deps =
    pyparsing
    more-itertools <= 7.2.0
    setuptools
    Jinja2
    flexmock
    virtualenv-api
    virtualenv
    scripttest
    click
    spec2scl >= 1.2.0
whitelist_externals = sh
commands =
    sh -c 'cd tests/test_data/utest && python3 setup.py sdist && mv dist/utest-0.1.0.tar.gz ..'
    sh -c 'cd tests/test_data/isholiday-0.1 && python3 setup.py sdist && mv dist/isholiday-0.1.tar.gz ..'
    python setup.py test --addopts -vv
sitepackages = True

[tox]
envlist = py36, py37, py38, py39

[testenv]
deps =
    pyparsing
    more-itertools <= 7.2.0
    setuptools
    Jinja2
    flexmock
    virtualenv-api
    virtualenv
    scripttest
    click
    spec2scl >= 1.2.0
whitelist_externals = sh
commands =
    sh -c 'cd tests/test_data/utest && python3 setup.py sdist && mv dist/utest-0.1.0.tar.gz ..'
    sh -c 'cd tests/test_data/isholiday-0.1 && python3 setup.py sdist && mv dist/isholiday-0.1.tar.gz ..'
    python setup.py test --addopts -vv
sitepackages = True

Replace isholiday test module with a version compatible with Python 3.
Replace isholiday test module with a version compatible with Python 3.
