summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
Diffstat (limited to 'Modules')
-rw-r--r--Modules/_testinternalcapi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/_testinternalcapi.c b/Modules/_testinternalcapi.c
index 5f217dc..8faa9fe 100644
--- a/Modules/_testinternalcapi.c
+++ b/Modules/_testinternalcapi.c
@@ -119,8 +119,8 @@ test_hashtable(PyObject *self, PyObject *Py_UNUSED(args))
for (key='a'; key <= 'z'; key++) {
_Py_hashtable_entry_t *entry = _Py_hashtable_get_entry(table, TO_PTR(key));
assert(entry != NULL);
- assert(entry->key = TO_PTR(key));
- assert(entry->value = TO_PTR(VALUE(key)));
+ assert(entry->key == TO_PTR(key));
+ assert(entry->value == TO_PTR(VALUE(key)));
}
// Test _Py_hashtable_get()