Style fixes

This commit is contained in:
Matthias van de Meent
2024-06-28 16:50:35 +02:00
committed by MMeent
parent 4ab2b8f575
commit b237e83c0e

View File

@@ -1,7 +1,7 @@
from contextlib import closing
import pytest
from fixtures.neon_fixtures import Endpoint, NeonEnv, NeonPageserver
from fixtures.neon_fixtures import NeonEnv
from psycopg2.errors import QueryCanceled
"""
@@ -49,13 +49,11 @@ def test_pageserver_breaks_while_running(neon_simple_env: NeonEnv):
)
with pytest.raises(QueryCanceled):
# definitely uncached relation
cur.execute(
cur.execute(
"""
SELECT count(*) FROM pg_rewrite;
"""
)
ep.stop()
ep.log_contains(
"""could not complete handshake: PageServer returned error: """
)
ep.log_contains("""could not complete handshake: PageServer returned error: """)