Fix test case after get_qparams refactor (#30470)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/30470
att
Test Plan:
python test/test_jit.py
Imported from OSS
Differential Revision: D18710775
fbshipit-source-id: b1c7c0afbc538ff1d3e19c5d3d6bd425e4f94f06