summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/testing/plugin/plugin_base.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2019-07-11 11:56:54 -0400
committerMike Bayer <mike_mp@zzzcomputing.com>2019-07-11 12:19:38 -0400
commit81b68ac3e491bfc57218c60d6f44a4ad8123279a (patch)
tree9fc8303abe1e844481f17ca4d2fd74946939543e /lib/sqlalchemy/testing/plugin/plugin_base.py
parentfa5db637dc93b3e2ec09506735833f2e764f3a0f (diff)
downloadsqlalchemy-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/plugin_base.py')
-rw-r--r--lib/sqlalchemy/testing/plugin/plugin_base.py2
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):