Fix wrong assert in unicodeobject (GH-5340)

diff --git a/Objects/unicodeobject.c b/Objects/unicodeobject.c
index 4b90cc3..775bd15 100644
--- a/Objects/unicodeobject.c
+++ b/Objects/unicodeobject.c
@@ -11038,7 +11038,7 @@
     if (PyUnicode_CHECK_INTERNED(left))
         return 0;
 
-    assert(_PyUnicode_HASH(right_uni) != 1);
+    assert(_PyUnicode_HASH(right_uni) != -1);
     hash = _PyUnicode_HASH(left);
     if (hash != -1 && hash != _PyUnicode_HASH(right_uni))
         return 0;