Skip to content

Commit e48d790

Browse files
author
Justin Baum
committed
lower -> casefold
1 parent e7a82e8 commit e48d790

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Lib/doctest.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1615,8 +1615,8 @@ def check_output(self, want, got, optionflags):
16151615
true_line = "True\n"
16161616
false_line = "False\n"
16171617
if (optionflags & IGNORE_CASE):
1618-
got = got.lower()
1619-
want = want.lower()
1618+
got = got.casefold()
1619+
want = want.casefold()
16201620
true_line = "true\n"
16211621
false_line = "false\n"
16221622

0 commit comments

Comments
 (0)