8000 docs: Fix a few typos (#1053) · PyMySQL/PyMySQL@ed56379 · GitHub
[go: up one dir, main page]

Skip to content

Commit ed56379

Browse files
authored
docs: Fix a few typos (#1053)
1 parent 9031792 commit ed56379

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pymysql/tests/test_connection.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -492,7 +492,7 @@ def test_connection_gone_away(self):
492492
time.sleep(2)
493493
with self.assertRaises(pymysql.OperationalError) as cm:
494494
cur.execute("SELECT 1+1")
495-
# error occures while reading, not writing because of socket buffer.
495+
# error occurs while reading, not writing because of socket buffer.
496496
# self.assertEqual(cm.exception.args[0], 2006)
497497
self.assertIn(cm.exception.args[0], (2006, 2013))
498498

pymysql/tests/test_issues.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ def test_issue_16(self):
149149
"test_issue_17() requires a custom, legacy MySQL configuration and will not be run."
150150
)
151151
def test_issue_17(self):
152-
"""could not connect mysql use passwod"""
152+
"""could not connect mysql use password"""
153153
conn = self.connect()
154154
host = self.databases[0]["host"]
155155
db = self.databases[0]["database"]

0 commit comments

Comments
 (0)
0