Kaydet (Commit) c85c74cd authored tarafından Walter Dörwald's avatar Walter Dörwald

Increase code coverage in Python/structmember.c from 33% to 40%

(by forcing a call to the listmember() function).
üst 690402ff
......@@ -85,6 +85,14 @@ def test():
os.unlink(os.path.join(testdir, f))
os.rmdir(testdir)
def test_members(self):
# Covers Python/structmember.c::listmembers()
try:
1/0
except:
import sys
sys.exc_traceback.__members__
def test_main():
run_unittest(TracebackCases)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment