Skip to content

Commit 5908718

Browse files
committed
Fix PEP8 issues.
1 parent 27e3654 commit 5908718

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

web/pgadmin/tools/sqleditor/tests/test_download_csv_query_tool.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,8 @@ class TestDownloadCSV(BaseTestGenerator):
2929
(
3030
'Download csv URL with valid query',
3131
dict(
32-
sql='SELECT 1 as "A",2 as "B",3 as "C",2300::numeric as "Price"',
32+
sql='SELECT 1 as "A",2 as "B",3 as "C",2300::numeric'
33+
' as "Price"',
3334
init_url='/sqleditor/initialize/sqleditor/{0}/{1}/{2}/{3}',
3435
donwload_url="/sqleditor/query_tool/download/{0}",
3536
output_columns='"A","B","C","Price"',

web/pgadmin/utils/driver/psycopg3/typecast.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ def register_numeric_typecasters(_cursor):
173173
# These original loader registration works on cursor level
174174

175175
_cursor.adapters.register_loader(1700,
176-
NumericLoader)
176+
NumericLoader)
177177
_cursor.adapters.register_loader(700,
178178
FloatLoader)
179179
_cursor.adapters.register_loader(701,

0 commit comments

Comments
 (0)