@pytest.mark.usefixtures("with_dsn")
class PsycopgTPCTests(dbapi20_tpc.TwoPhaseCommitTests):
driver = psycopg
- # connect_args = () # set by the fixture
+ connect_args = () # set by the fixture
def connect(self):
return psycopg.connect(*self.connect_args)
# Shut up warnings
PsycopgTests.failUnless = PsycopgTests.assertTrue # type: ignore[assignment]
-PsycopgTPCTests.assertEquals = PsycopgTPCTests.assertEqual
+PsycopgTPCTests.assertEquals = ( # type: ignore[assignment]
+ PsycopgTPCTests.assertEqual
+)
@pytest.mark.parametrize(