# HG changeset patch # User Martijn Pieters <mj@zopatista.com> # Date 1534176500 -7200 # Mon Aug 13 18:08:20 2018 +0200 # Node ID 0d3697261693560d857ac34c8e066f9298fd53cf # Parent fc7ede6ac50bdc3efb1d0c2a3114f3e9e4f3335e perfext: add a no-op tear-down method diff --git a/benchmarks/utils.py b/benchmarks/utils.py --- a/benchmarks/utils.py +++ b/benchmarks/utils.py @@ -263,6 +263,11 @@ if key in os.environ: self.environ[key] = os.environ[key] + def teardown(self, *args, **kwargs): + # only here for consintency and ease; you can use super().teardown() + # in subclasses to mirror super().setup(). + pass + class BaseNChangesetsTestSuite(BaseTestSuite):