From 81b68ac3e491bfc57218c60d6f44a4ad8123279a Mon Sep 17 00:00:00 2001 From: Mike Bayer Date: Thu, 11 Jul 2019 11:56:54 -0400 Subject: 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 --- lib/sqlalchemy/testing/plugin/plugin_base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/sqlalchemy/testing/plugin/plugin_base.py') 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): -- cgit v1.2.1