From bca9198f8252bcf49e8fb12c889e7a4d59372257 Mon Sep 17 00:00:00 2001 From: Charles Leifer Date: Mon, 25 Mar 2024 15:46:11 -0500 Subject: [PATCH] Get rid of warning on tests on python 3.12. --- tests/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/__init__.py b/tests/__init__.py index ca7eae568..9dc5dfd23 100644 --- a/tests/__init__.py +++ b/tests/__init__.py @@ -76,11 +76,11 @@ if __name__ == '__main__': from peewee import print_ - print_("""\033[1;31m + print_(r"""\x1b[1;31m ______ ______ ______ __ __ ______ ______ /\ == \ /\ ___\ /\ ___\ /\ \ _ \ \ /\ ___\ /\ ___\\ \ \ _-/ \ \ __\ \ \ __\ \ \ \/ ".\ \ \ \ __\ \ \ __\\ \ \_\ \ \_____\ \ \_____\ \ \__/".~\_\ \ \_____\ \ \_____\\ \/_/ \/_____/ \/_____/ \/_/ \/_/ \/_____/ \/_____/ - \033[0m""") + \x1b[0m""") unittest.main(argv=sys.argv)