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 | |
| parent | 2f617f56f2acdce00b88f746c403cf5ed66d4d27 (diff) | |
| download | sqlalchemy-405fc9717048b0adc852a72da540048df7a8142a.tar.gz | |
Rename py.test to pytest
Change-Id: I431e1ef41e26d490343204a75a5c097768749768
Diffstat (limited to 'lib/sqlalchemy/testing/plugin')
| -rw-r--r-- | lib/sqlalchemy/testing/plugin/plugin_base.py | 4 | ||||
| -rw-r--r-- | lib/sqlalchemy/testing/plugin/pytestplugin.py | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/lib/sqlalchemy/testing/plugin/plugin_base.py b/lib/sqlalchemy/testing/plugin/plugin_base.py index 29dab098a..9b2f6911d 100644 --- a/lib/sqlalchemy/testing/plugin/plugin_base.py +++ b/lib/sqlalchemy/testing/plugin/plugin_base.py @@ -10,7 +10,7 @@ this module is designed to work as a testing-framework-agnostic library, created so that multiple test frameworks can be supported at once (mostly so that we can migrate to new ones). The current target -is py.test. +is pytest. """ @@ -206,7 +206,7 @@ def memoize_important_follower_config(dict_): This invokes in the parent process after normal config is set up. - This is necessary as py.test seems to not be using forking, so we + This is necessary as pytest seems to not be using forking, so we start with nothing in memory, *but* it isn't running our argparse callables, so we have to just copy all of that over. 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) |
