Remove duplicated tests.
Remove trailing whitespace.
Fix reference leak in _pickle.
#17065: Use process-unique key for winreg test.

Patch by Jeremy Kloth.
Issue #17670: Provide an example of expandtabs() usage.
#15575: Clarify tutorial description of when modules are executed.