TEST: fix a test under recent numpys
Removed an unused line in example.