Skip to content

Commit 77684f4

Browse files
committed
Test also _Py_GetBuiltWithAssert()
1 parent b1b3508 commit 77684f4

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

‎Lib/test/test_capi/test_build.py‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,10 @@ def test_getbuildinfo(self):
3030
self.assertIsInstance(buildinfo, str)
3131
self.assertNotEqual(buildinfo, '')
3232

33+
# Test internal _Py_GetBuiltWithAssert()
34+
def test__getbuiltwithassert(self):
35+
self.assertIn(_testlimitedcapi._py_getbuiltwithassert(), (0, 1))
36+
3337

3438
if __name__ == "__main__":
3539
unittest.main()

0 commit comments

Comments
 (0)