Corrected assert to check for correct type in py3k.
diff --git a/Objects/stringlib/string_format.h b/Objects/stringlib/string_format.h
index e776242..214b7b3 100644
--- a/Objects/stringlib/string_format.h
+++ b/Objects/stringlib/string_format.h
@@ -494,7 +494,7 @@
         goto done;
 
 #if PY_VERSION_HEX >= 0x03000000
-    assert(PyString_Check(result));
+    assert(PyUnicode_Check(result));
 #else
     assert(PyString_Check(result) || PyUnicode_Check(result));