Skip to content

Commit f57b0bd

Browse files
encukoupganssle
authored andcommitted
Remove @cpython_only decorators (it's just C API)
1 parent 835d5bf commit f57b0bd

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

Lib/test/test_call.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,6 @@ def test_oldargs1_2_kw(self):
171171

172172

173173

174-
@cpython_only
175174
class TestCallingConventions(unittest.TestCase):
176175
"""Test calling using various C calling conventions (METH_*) from Python
177176
@@ -311,23 +310,20 @@ def test_fastcall_keywords_ext(self):
311310
)
312311

313312

314-
@cpython_only
315313
class TestCallingConventionsInstance(TestCallingConventions):
316314
"""Test calling instance methods using various calling conventions"""
317315

318316
def setUp(self):
319317
self.obj = self.expected_self = _testcapi.MethInstance()
320318

321319

322-
@cpython_only
323320
class TestCallingConventionsClass(TestCallingConventions):
324321
"""Test calling class methods using various calling conventions"""
325322

326323
def setUp(self):
327324
self.obj = self.expected_self = _testcapi.MethClass
328325

329326

330-
@cpython_only
331327
class TestCallingConventionsClassInstance(TestCallingConventions):
332328
"""Test calling class methods on instance"""
333329

@@ -336,7 +332,6 @@ def setUp(self):
336332
self.expected_self = _testcapi.MethClass
337333

338334

339-
@cpython_only
340335
class TestCallingConventionsStatic(TestCallingConventions):
341336
"""Test calling static methods using various calling conventions"""
342337

@@ -373,7 +368,6 @@ def static_method():
373368

374369
NULL_OR_EMPTY = object()
375370

376-
@cpython_only
377371
class FastCallTests(unittest.TestCase):
378372
"""Test calling using various callables from C
379373
"""

0 commit comments

Comments
 (0)