code: def test_remove_duplication_by_last(self):
      config_dict = {
          "model": "BPR",
          "dataset": "remove_duplication",
          "data_path": current_path,
          "load_col": None,
          "rm_dup_inter": "last",
      }
      dataset = new_dataset(config_dict=config_dict)
      assert dataset.inter_feat[dataset.time_field][0] == 2
  
imports: import logging
  import os
  import pytest
  from recbole.config import Config
  from recbole.data import create_dataset
  from recbole.utils import init_seed
label_desc: Use image node_id 3 for calling the TestDataset obj's underlying member method code with example usage: obj.test_remove_duplication_by_last() without return types