Closes #4319 - shorten test names (#4321) * Closes #4319 - shorten test names * #4319 update docs and config files
diff --git a/nox.py b/nox.py index 35c314d..169fa84 100644 --- a/nox.py +++ b/nox.py
@@ -19,15 +19,15 @@ @nox.session [email protected]('python_version', ['2.7', '3.4', '3.5', '3.6']) -def unit_tests(session, python_version): [email protected]('py', ['2.7', '3.4', '3.5', '3.6']) +def unit(session, py): """Run the unit test suite.""" # Run unit tests against all supported versions of Python. - session.interpreter = 'python{}'.format(python_version) + session.interpreter = 'python{}'.format(py) # Set the virtualenv dirname. - session.virtualenv_dirname = 'unit-' + python_version + session.virtualenv_dirname = 'unit-' + py # Install all test dependencies, then install this package in-place. session.install(