Python code coverage for Lib/test/dtracedata/instance.py
# | count | content |
---|---|---|
1 | n/a | import gc |
2 | n/a | |
3 | n/a | class old_style_class(): |
4 | n/a | pass |
5 | n/a | class new_style_class(object): |
6 | n/a | pass |
7 | n/a | |
8 | n/a | a = old_style_class() |
9 | n/a | del a |
10 | n/a | gc.collect() |
11 | n/a | b = new_style_class() |
12 | n/a | del b |
13 | n/a | gc.collect() |
14 | n/a | |
15 | n/a | a = old_style_class() |
16 | n/a | del old_style_class |
17 | n/a | gc.collect() |
18 | n/a | b = new_style_class() |
19 | n/a | del new_style_class |
20 | n/a | gc.collect() |
21 | n/a | del a |
22 | n/a | gc.collect() |
23 | n/a | del b |
24 | n/a | gc.collect() |