]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.13] gh-149403: Fix `NameError` in `Lib/test/test_capi/test_getargs.py` (GH-149404...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 5 May 2026 11:47:46 +0000 (13:47 +0200)
committerGitHub <noreply@github.com>
Tue, 5 May 2026 11:47:46 +0000 (14:47 +0300)
gh-149403: Fix `NameError` in `Lib/test/test_capi/test_getargs.py` (GH-149404)
(cherry picked from commit 114781040c8ab033a164dbdefca71b69ba7fe2ed)

Co-authored-by: sobolevn <mail@sobolevn.me>
Lib/test/test_capi/test_getargs.py

index 703d228f92e713a26ddee3e4e84c91b82b59b29c..559ca9325955b0d69a11e9c01603621c01b604df 100644 (file)
@@ -14,7 +14,7 @@ from _testcapi import getargs_keywords, getargs_keyword_only
 try:
     import _testinternalcapi
 except ImportError:
-    _testinternalcapi = NULL
+    _testinternalcapi = None
 
 # > How about the following counterproposal. This also changes some of
 # > the other format codes to be a little more regular.