Skip to content

Commit e971bae

Browse files
authored
Closes #4319 - shorten test names (#4321)
* Closes #4319 - shorten test names * #4319 update docs and config files
1 parent 978c513 commit e971bae

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

nox.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,15 @@
1919

2020

2121
@nox.session
22-
@nox.parametrize('python_version', ['2.7', '3.4', '3.5', '3.6'])
23-
def unit_tests(session, python_version):
22+
@nox.parametrize('py', ['2.7', '3.4', '3.5', '3.6'])
23+
def unit(session, py):
2424
"""Run the unit test suite."""
2525

2626
# Run unit tests against all supported versions of Python.
27-
session.interpreter = 'python{}'.format(python_version)
27+
session.interpreter = 'python{}'.format(py)
2828

2929
# Set the virtualenv dirname.
30-
session.virtualenv_dirname = 'unit-' + python_version
30+
session.virtualenv_dirname = 'unit-' + py
3131

3232
# Install all test dependencies, then install this package in-place.
3333
session.install(

0 commit comments

Comments
 (0)