Fix test_importhooks for dict views.
2 files changed