diff options
| author | Mike Bayer <mike_mp@zzzcomputing.com> | 2019-07-11 11:56:54 -0400 |
|---|---|---|
| committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2019-07-11 12:19:38 -0400 |
| commit | 81b68ac3e491bfc57218c60d6f44a4ad8123279a (patch) | |
| tree | 9fc8303abe1e844481f17ca4d2fd74946939543e /lib/sqlalchemy/testing/plugin | |
| parent | fa5db637dc93b3e2ec09506735833f2e764f3a0f (diff) | |
| download | sqlalchemy-81b68ac3e491bfc57218c60d6f44a4ad8123279a.tar.gz | |
profiling plugin fixes
support that we have pytest-xdist arguments now,
as well as allow force-write to reset the list of callcounts which
seem to accumulate commas for some reason
Change-Id: I54dd164c21ffbb9139937d5c3ffb1df7e9598594
Diffstat (limited to 'lib/sqlalchemy/testing/plugin')
| -rw-r--r-- | lib/sqlalchemy/testing/plugin/plugin_base.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sqlalchemy/testing/plugin/plugin_base.py b/lib/sqlalchemy/testing/plugin/plugin_base.py index 8f79b4163..4593f1431 100644 --- a/lib/sqlalchemy/testing/plugin/plugin_base.py +++ b/lib/sqlalchemy/testing/plugin/plugin_base.py @@ -587,7 +587,7 @@ def before_test(test, test_module_name, test_class, test_name): id_ = "%s.%s.%s" % (test_module_name, name, test_name) - profiling._current_test = id_ + profiling._start_current_test(id_) def after_test(test): |
