Commit e68c084e authored by Aymeric Augustin's avatar Aymeric Augustin
Browse files

Fixed a broken test introduced in 6fa7d7c5. Refs #21553.

Thanks Shai.
parent d5cef2a1
Loading
Loading
Loading
Loading
+3 −4
Original line number Diff line number Diff line
@@ -627,8 +627,7 @@ class IsUsableTests(TransactionTestCase):
        Regression for #21553.
        """
        # Open a connection to the database.
        with connection.cursor():
            pass
        connection.cursor().close()
        # Emulate a connection close by the database.
        connection._close()
        # Even then is_usable() should not raise an exception.