1""" 2Fodder for module finalization tests in test_module. 3""" 4 5import shutil 6import test.final_a 7 8x = 'b' 9 10class C: 11 def __del__(self): 12 # Inspect module globals and builtins 13 print("x =", x) 14 print("final_a.x =", test.final_a.x) 15 print("shutil.rmtree =", getattr(shutil.rmtree, '__name__', None)) 16 print("len =", getattr(len, '__name__', None)) 17 18c = C() 19_underscored = C() 20