diff options
author | 2023-11-11 19:27:03 +0200 | |
---|---|---|
committer | 2023-11-11 19:27:03 +0200 | |
commit | 1420e193c61300ef75b2be52e7401e371dca8ab2 (patch) | |
tree | 1e8ef033a00207685e87bc5fd433dd5cc032604b /extra_tests | |
parent | fix mod.origin in bootloader (diff) | |
download | pypy-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.py | 2 |
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); |