aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Lib/test/test__interpreters.py
diff options
context:
space:
mode:
authorEric Snow <ericsnowcurrently@gmail.com>2025-05-21 14:16:55 -0600
committerGitHub <noreply@github.com>2025-05-21 14:16:55 -0600
commita66bae8bb52721ea597ade6222f83876f9e939ba (patch)
tree18f7e13afcf890db51feb8a7fd9a4778bd6cbcb8 /Lib/test/test__interpreters.py
parentfb68776591485cacd63a97a342bf294a6ae6d4e4 (diff)
downloadcpython-a66bae8bb52721ea597ade6222f83876f9e939ba.tar.gz
cpython-a66bae8bb52721ea597ade6222f83876f9e939ba.zip
gh-132775: Use _PyFunction_VerifyStateless() and _PyCode_VerifyStateless() (gh-134439)
Diffstat (limited to 'Lib/test/test__interpreters.py')
-rw-r--r--Lib/test/test__interpreters.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/test/test__interpreters.py b/Lib/test/test__interpreters.py
index 0c43f46300f..63fdaad8de7 100644
--- a/Lib/test/test__interpreters.py
+++ b/Lib/test/test__interpreters.py
@@ -1054,7 +1054,7 @@ class RunFuncTests(TestBase):
def script():
assert spam
- with self.assertRaises(ValueError):
+ with self.assertRaises(TypeError):
_interpreters.run_func(self.id, script)
# XXX This hasn't been fixed yet.
@@ -1065,6 +1065,7 @@ class RunFuncTests(TestBase):
with self.assertRaises(ValueError):
_interpreters.run_func(self.id, script)
+ @unittest.skip("we're not quite there yet")
def test_args(self):
with self.subTest('args'):
def script(a, b=0):