Fix typo in assertion.
diff --git a/Modules/_localemodule.c b/Modules/_localemodule.c
index 0b657c4..1fba6b1 100644
--- a/Modules/_localemodule.c
+++ b/Modules/_localemodule.c
@@ -67,7 +67,7 @@
     }
     /* This shouldn't fail now */
     res1 = mbstowcs(dest, s, needed+1);
-    assert(res == needed);
+    assert(res1 == needed);
     res2 = PyUnicode_FromWideChar(dest, res1);
     if (dest != smallbuf)
         PyMem_Free(dest);