()
| 32 | |
| 33 | |
| 34 | def test_case_sensitivity(): |
| 35 | lowercase_latin1 = pymysql.charset.charset_by_name("latin1") |
| 36 | assert lowercase_latin1 is not None |
| 37 | |
| 38 | # lowercase and uppercase should resolve to the same charset |
| 39 | uppercase_latin1 = pymysql.charset.charset_by_name("LATIN1") |
| 40 | assert uppercase_latin1 == lowercase_latin1 |
| 41 | |
| 42 | # lowercase and mixed case should resolve to the same charset |
| 43 | mixedcase_latin1 = pymysql.charset.charset_by_name("LaTiN1") |
| 44 | assert mixedcase_latin1 == lowercase_latin1 |
nothing calls this directly
no outgoing calls
no test coverage detected