ยปCore Development>Code coverage>Lib/test/final_a.py

Python code coverage for Lib/test/final_a.py

#countcontent
1n/a"""
2n/aFodder for module finalization tests in test_module.
3n/a"""
4n/a
5n/aimport shutil
6n/aimport test.final_b
7n/a
8n/ax = 'a'
9n/a
10n/aclass C:
11n/a def __del__(self):
12n/a # Inspect module globals and builtins
13n/a print("x =", x)
14n/a print("final_b.x =", test.final_b.x)
15n/a print("shutil.rmtree =", getattr(shutil.rmtree, '__name__', None))
16n/a print("len =", getattr(len, '__name__', None))
17n/a
18n/ac = C()
19n/a_underscored = C()