aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatti Picus <matti.picus@gmail.com>2023-11-11 19:27:03 +0200
committerMatti Picus <matti.picus@gmail.com>2023-11-11 19:27:03 +0200
commit1420e193c61300ef75b2be52e7401e371dca8ab2 (patch)
tree1e8ef033a00207685e87bc5fd433dd5cc032604b /extra_tests
parentfix mod.origin in bootloader (diff)
downloadpypy-1420e193c61300ef75b2be52e7401e371dca8ab2.tar.gz
pypy-1420e193c61300ef75b2be52e7401e371dca8ab2.tar.bz2
pypy-1420e193c61300ef75b2be52e7401e371dca8ab2.zip
typo (should upstream)
Diffstat (limited to 'extra_tests')
-rw-r--r--extra_tests/hpy_tests/_vendored/test_hpymodule.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/extra_tests/hpy_tests/_vendored/test_hpymodule.py b/extra_tests/hpy_tests/_vendored/test_hpymodule.py
index 87a11c38cd..6a8f47953a 100644
--- a/extra_tests/hpy_tests/_vendored/test_hpymodule.py
+++ b/extra_tests/hpy_tests/_vendored/test_hpymodule.py
@@ -108,7 +108,7 @@ class TestModule(HPyTest):
return HPy_NULL;
ns_type = HPy_GetAttr_s(ctx, types, "SimpleNamespace");
- if (HPy_IsNull(types))
+ if (HPy_IsNull(ns_type))
goto cleanup;
dict = HPyDict_New(ctx);
HPy_SetItem_s(ctx, dict, "spec", spec);