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

Python code coverage for Lib/test/final_b.py

#countcontent
1n/a"""
2n/aFodder for module finalization tests in test_module.
3n/a"""
4n/a
5n/aimport shutil
6n/aimport test.final_a
7n/a
8n/ax = 'b'
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_a.x =", test.final_a.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()