| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1100,7 +1100,7 @@ test_string_from_format(PyObject *self, PyObject *Py_UNUSED(ignored)) | |||
| 1100 | 1100 | } \ | |
| 1101 | 1101 | else if (result == NULL) \ | |
| 1102 | 1102 | return NULL; \ | |
| 1103 | - else if (!_PyUnicode_EqualToASCIIString(result, EXPECTED)) { \ | ||
| 1103 | + else if (PyUnicode_CompareWithASCIIString(result, EXPECTED) != 0) { \ | ||
| 1104 | 1104 | PyErr_Format(PyExc_AssertionError, \ | |
| 1105 | 1105 | "test_string_from_format: failed at \"%s\" " \ | |
| 1106 | 1106 | "expected \"%s\" got \"%s\"", \ | |
| Back | FazBrowse Home | New Git URL |
0 commit comments