From: Daniele Varrazzo Date: Fri, 16 Jul 2021 23:35:54 +0000 (+0200) Subject: Fix test retry pattern X-Git-Tag: 3.0.dev1~4 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c6e429ac1bc79df6bf0ebfce2783c7c3a8001013;p=thirdparty%2Fpsycopg.git Fix test retry pattern --- diff --git a/tests/test_copy.py b/tests/test_copy.py index 725862e73..9017574df 100644 --- a/tests/test_copy.py +++ b/tests/test_copy.py @@ -588,9 +588,9 @@ def test_copy_from_leaks(dsn, faker, fmt, retries): gc_collect() n.append(len(gc.get_objects())) - assert ( - n[0] == n[1] == n[2] - ), f"objects leaked: {n[1] - n[0]}, {n[2] - n[1]}" + assert ( + n[0] == n[1] == n[2] + ), f"objects leaked: {n[1] - n[0]}, {n[2] - n[1]}" def py_to_raw(item, fmt):