summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/testing/plugin/pytestplugin.py
diff options
context:
space:
mode:
authormike bayer <mike_mp@zzzcomputing.com>2020-04-20 13:04:32 +0000
committerGerrit Code Review <gerrit@bbpush.zzzcomputing.com>2020-04-20 13:04:32 +0000
commit88b085fc2e2710bc3c50d1d45f7585c7bef07673 (patch)
tree9334ce5518cf52c05f3ee18c31554e8a707a3ae7 /lib/sqlalchemy/testing/plugin/pytestplugin.py
parent6e208823a66723c842975e0b75ec0e8b34ce0d2f (diff)
parent405fc9717048b0adc852a72da540048df7a8142a (diff)
downloadsqlalchemy-88b085fc2e2710bc3c50d1d45f7585c7bef07673.tar.gz
Merge "Rename py.test to pytest"
Diffstat (limited to 'lib/sqlalchemy/testing/plugin/pytestplugin.py')
-rw-r--r--lib/sqlalchemy/testing/plugin/pytestplugin.py4
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)