Skip to content

Commit 6414dd7

Browse files
Update mojo/stdlib/test/python/test_python_cpython.mojo
Co-authored-by: Laszlo Kindrat <[email protected]> Signed-off-by: Marius S <[email protected]>
1 parent 27a9597 commit 6414dd7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mojo/stdlib/test/python/test_python_cpython.mojo

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ def test_PyCapsule(mut python: Python):
4545

4646
# Not a PyCapsule, a NULL pointer is expected.
4747
var the_object = PythonObject(0)
48-
var result = Cpython_env[].PyCapsule_GetPointer(
48+
var result = cpython_env.PyCapsule_GetPointer(
4949
the_object.py_object, "some_name"
5050
)
5151
var expected = UnsafePointer[NoneType]()

0 commit comments

Comments
 (0)