swap expect_info_dict args