From: Daniele Varrazzo Date: Mon, 1 Sep 2025 09:16:22 +0000 (+0200) Subject: chore(tests): drop deprecated unittest redefinitions X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=43d95d0a742a6ceb7f4d81aa6a18e482b4968db9;p=thirdparty%2Fpsycopg.git chore(tests): drop deprecated unittest redefinitions Not used anymore in legacy tests. --- diff --git a/tests/test_psycopg_dbapi20.py b/tests/test_psycopg_dbapi20.py index 216d9de86..7bfa83a25 100644 --- a/tests/test_psycopg_dbapi20.py +++ b/tests/test_psycopg_dbapi20.py @@ -41,11 +41,6 @@ class PsycopgTPCTests(dbapi20_tpc.TwoPhaseCommitTests): return psycopg.connect(*self.connect_args) -# Shut up warnings -PsycopgTests.failUnless = PsycopgTests.assertTrue -PsycopgTPCTests.assertEquals = PsycopgTPCTests.assertEqual - - @pytest.mark.parametrize( "typename, singleton", [