Skip to content

Commit b51d5da

Browse files
grooverdanmethane
authored andcommitted
test_set_charset: use utf8mb4 (PyMySQL#664)
Works on all supported MySQL versions now that 5.1 support is dropped.
1 parent 57466b4 commit b51d5da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pymysql/tests/test_connection.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -460,7 +460,7 @@ def test_context(self):
460460

461461
def test_set_charset(self):
462462
c = self.connect()
463-
c.set_charset('utf8')
463+
c.set_charset('utf8mb4')
464464
# TODO validate setting here
465465

466466
def test_defer_connect(self):

0 commit comments

Comments
 (0)