gh-115419: Change default sym to not_null (GH-116562)

This commit is contained in:
Ken Jin 2024-03-13 20:57:48 +08:00 committed by GitHub
parent fcd49b4f47
commit 617aca9e74
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 104 additions and 94 deletions

View file

@ -908,7 +908,7 @@ class TestGeneratedAbstractCases(unittest.TestCase):
case OP2: {
_Py_UopsSymbol *out;
out = sym_new_unknown(ctx);
out = sym_new_not_null(ctx);
if (out == NULL) goto out_of_space;
stack_pointer[-1] = out;
break;
@ -933,7 +933,7 @@ class TestGeneratedAbstractCases(unittest.TestCase):
output = """
case OP: {
_Py_UopsSymbol *out;
out = sym_new_unknown(ctx);
out = sym_new_not_null(ctx);
if (out == NULL) goto out_of_space;
stack_pointer[-1] = out;
break;