From 771e299c153ee20181cbb286a30dfa1450ed9e99 Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Sun, 27 Nov 2022 09:33:37 -0500 Subject: refactor: SimpleReprMixing wasn't simple, it was auto Also, I'm not sure I like it as a mixin... --- coverage/sqldata.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'coverage/sqldata.py') diff --git a/coverage/sqldata.py b/coverage/sqldata.py index 68663715..f1b192d1 100644 --- a/coverage/sqldata.py +++ b/coverage/sqldata.py @@ -18,7 +18,7 @@ import textwrap import threading import zlib -from coverage.debug import NoDebugging, SimpleReprMixin, clipped_repr +from coverage.debug import NoDebugging, AutoReprMixin, clipped_repr from coverage.exceptions import CoverageException, DataError from coverage.files import PathAliases from coverage.misc import contract, file_be_gone, isolate_module @@ -103,7 +103,7 @@ CREATE TABLE tracer ( ); """ -class CoverageData(SimpleReprMixin): +class CoverageData(AutoReprMixin): """Manages collected coverage data, including file storage. This class is the public supported API to the data that coverage.py @@ -1040,7 +1040,7 @@ def filename_suffix(suffix): return suffix -class SqliteDb(SimpleReprMixin): +class SqliteDb(AutoReprMixin): """A simple abstraction over a SQLite database. Use as a context manager, then you can use it like a -- cgit v1.2.1