Skip to content

Commit 9d43cee

Browse files
Apply suggestions from code review
Co-authored-by: Victor Stinner <vstinner@python.org>
1 parent bb967ab commit 9d43cee

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

Lib/test/test_capi/test_capsule.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ def write_file(path, source):
6363
with open(path, 'w', encoding='utf-8') as f:
6464
f.write(textwrap.dedent(source))
6565

66-
def check_import(self, name, *args):
66+
def check_import(self, name, no_block=0):
6767
# _testcapi.PyCapsule_Import() returns the name stored as the
6868
# pointer by _testcapi.capsule_new().
6969
self.assertEqual(_testcapi.PyCapsule_Import(name, *args), name)
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
Add tests for :c:func:`PyCapsule_Import`.
1+
Add C API tests for :c:func:`PyCapsule_Import`.

0 commit comments

Comments
 (0)