code: def test__validate_args_duplicate_map():
      with pytest.raises(ValueError) as e:
          _validate_args(
              image_dir=PATH_DIR, duplicate_map=None, filename=None
          )
      assert str(e.value) == "Please provide a valid Duplicate map!"
  
file_path: imagededup/tests/test_plotter.py
imports: import os
  import pytest
  import matplotlib.pyplot
  from pathlib import Path
  import numpy
  from imagededup.utils.plotter import _formatter, _validate_args, plot_duplicates
label_desc: Use image node_id 6 for calling a global function with example usage: test__validate_args_duplicate_map() without return types