summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorKen Jin <kenjin@python.org>2024-03-13 12:57:48 (GMT)
committerGitHub <noreply@github.com>2024-03-13 12:57:48 (GMT)
commit617aca9e745b3dfb5e6bc8cda07632d2f716426d (patch)
treed61d6640600bb7622f6555228e826323e75bf3db /Lib
parentfcd49b4f47f1edd9a2717f6619da7e7af8ea73cf (diff)
downloadcpython-617aca9e745b3dfb5e6bc8cda07632d2f716426d.zip
cpython-617aca9e745b3dfb5e6bc8cda07632d2f716426d.tar.gz
cpython-617aca9e745b3dfb5e6bc8cda07632d2f716426d.tar.bz2
gh-115419: Change default sym to not_null (GH-116562)
Diffstat (limited to 'Lib')
-rw-r--r--Lib/test/test_generated_cases.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_generated_cases.py b/Lib/test/test_generated_cases.py
index 32c2c2f..7b9dd36 100644
--- a/Lib/test/test_generated_cases.py
+++ b/Lib/test/test_generated_cases.py
@@ -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;