cpython: 5198e8f325f5 (original) (raw)

Mercurial > cpython

changeset 87058:5198e8f325f5 3.3

Issue #19440: Clean up test_capi [#19440]

Zachary Ware zachary.ware@gmail.com
date Mon, 11 Nov 2013 22:47:04 -0600
parents b689e48855cc
children 26108b2761aa 1537f14cc690
files Lib/test/test_capi.py Misc/NEWS
diffstat 2 files changed, 11 insertions(+), 13 deletions(-)[+] [-] Lib/test/test_capi.py 20 Misc/NEWS 4

line wrap: on

line diff

--- a/Lib/test/test_capi.py +++ b/Lib/test/test_capi.py @@ -1,7 +1,6 @@

Run the _testcapi module tests (tests for the Python/C API): by defn,

these are all functions testcapi exports whose name begins with 'test'.

-from future import with_statement import os import pickle import random @@ -351,17 +350,12 @@ class TestThreadState(unittest.TestCase) t.start() t.join() - -def test_main():

-

+class Test_testcapi(unittest.TestCase):

if name == "main":

--- a/Misc/NEWS +++ b/Misc/NEWS @@ -42,6 +42,10 @@ Library Tests ----- +- Issue #19440: Clean up test_capi by removing an unnecessary future