summaryrefslogtreecommitdiff
path: root/test/dialect/postgresql
diff options
context:
space:
mode:
authorluz paz <luzpaz@users.noreply.github.com>2021-12-10 09:10:29 -0500
committerFederico Caselli <cfederico87@gmail.com>2021-12-29 21:35:34 +0100
commit56256b6d132c0deae4368a7d0d04912df9a80fc0 (patch)
tree5526137468678d9fc5d26f678a5027312c82623a /test/dialect/postgresql
parentd736f8bc4583f679167e4961f62f0fe1d318e4c4 (diff)
downloadsqlalchemy-56256b6d132c0deae4368a7d0d04912df9a80fc0.tar.gz
Fix various source comment/doc typos
### Description Found via `codespell -q 3 -L ba,crate,datas,froms,gord,hist,inh,nd,selectin,strat,ue` Also added codespell to the pep8 tox env ### Checklist This pull request is: - [x] A documentation / typographical error fix - Good to go, no issue or tests are needed Closes: #7338 Pull-request: https://github.com/sqlalchemy/sqlalchemy/pull/7338 Pull-request-sha: 0deac2219396bc0eba7da53eb3a80932edbf2dd7 Change-Id: Icd61db31c8dc655d4a39d8a304194804d08555fe
Diffstat (limited to 'test/dialect/postgresql')
-rw-r--r--test/dialect/postgresql/test_dialect.py2
-rw-r--r--test/dialect/postgresql/test_query.py2
-rw-r--r--test/dialect/postgresql/test_types.py2
3 files changed, 3 insertions, 3 deletions
diff --git a/test/dialect/postgresql/test_dialect.py b/test/dialect/postgresql/test_dialect.py
index 02d7ad483..57161e022 100644
--- a/test/dialect/postgresql/test_dialect.py
+++ b/test/dialect/postgresql/test_dialect.py
@@ -236,7 +236,7 @@ $$ LANGUAGE plpgsql;"""
"connection not open",
"could not receive data from server",
"could not send data to server",
- # psycopg2 client errors, psycopg2/conenction.h,
+ # psycopg2 client errors, psycopg2/connection.h,
# psycopg2/cursor.h
"connection already closed",
"cursor already closed",
diff --git a/test/dialect/postgresql/test_query.py b/test/dialect/postgresql/test_query.py
index fdce643f8..4e6ca46c1 100644
--- a/test/dialect/postgresql/test_query.py
+++ b/test/dialect/postgresql/test_query.py
@@ -1649,7 +1649,7 @@ class TableValuedRoundTripTest(fixtures.TestBase):
if cast_fn:
value = cast_fn(value, JSON)
- # why wont this work?!?!?
+ # why won't this work?!?!?
# should be exactly json_to_recordset(to_json('string'::text))
#
fn = (
diff --git a/test/dialect/postgresql/test_types.py b/test/dialect/postgresql/test_types.py
index 5f8a41d1f..bcf43992b 100644
--- a/test/dialect/postgresql/test_types.py
+++ b/test/dialect/postgresql/test_types.py
@@ -3375,7 +3375,7 @@ class _RangeTypeRoundTrip(fixtures.TablesTest):
extras = psycopg_extras()
else:
- assert False, "Unknonw dialect"
+ assert False, "Unknown dialect"
return extras
@classmethod