diff options
author | Gord Thompson <gord@gordthompson.com> | 2020-04-16 16:06:36 -0600 |
---|---|---|
committer | Gord Thompson <gord@gordthompson.com> | 2020-04-16 16:06:36 -0600 |
commit | 405fc9717048b0adc852a72da540048df7a8142a (patch) | |
tree | 95ad55122e2437d2d49f45ea9c5054f26fb48d79 /lib/sqlalchemy/testing/plugin/pytestplugin.py | |
parent | 2f617f56f2acdce00b88f746c403cf5ed66d4d27 (diff) | |
download | sqlalchemy-405fc9717048b0adc852a72da540048df7a8142a.tar.gz |
Rename py.test to pytest
Change-Id: I431e1ef41e26d490343204a75a5c097768749768
Diffstat (limited to 'lib/sqlalchemy/testing/plugin/pytestplugin.py')
-rw-r--r-- | lib/sqlalchemy/testing/plugin/pytestplugin.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/sqlalchemy/testing/plugin/pytestplugin.py b/lib/sqlalchemy/testing/plugin/pytestplugin.py index f2e7d706f..9dc40c9fe 100644 --- a/lib/sqlalchemy/testing/plugin/pytestplugin.py +++ b/lib/sqlalchemy/testing/plugin/pytestplugin.py @@ -243,7 +243,7 @@ def _parametrize_cls(module, cls): for arg, val in zip(argname_split, param.values): cls_variables[arg] = val parametrized_name = "_".join( - # token is a string, but in py2k py.test is giving us a unicode, + # token is a string, but in py2k pytest is giving us a unicode, # so call str() on it. str(re.sub(r"\W", "", token)) for param in full_param_set @@ -287,7 +287,7 @@ def pytest_runtest_teardown(item): # ...but this works better as the hook here rather than # using a finalizer, as the finalizer seems to get in the way # of the test reporting failures correctly (you get a bunch of - # py.test assertion stuff instead) + # pytest assertion stuff instead) test_teardown(item) |