modified deprecated method.
	modified:   tests/chap2/q0005.py
Fix typo.
	modified:   tests/chap2/q0006.py
Merge pull request #2 from kannokanno/fix-branch

fix DeprecationWarning and AttributeError