code: def test_observer_equality(tmpdir):
      observer_1 = FileStorageObserver(str(tmpdir / "a"))
      observer_2 = FileStorageObserver(str(tmpdir / "b"))
      observer_3 = FileStorageObserver(str(tmpdir / "a"))
      assert observer_1 == observer_3
      assert observer_1 != observer_2
  
imports: import datetime
  import os
  from copy import copy
  import pytest
  import json
  from pathlib import Path
  from sacred.observers.file_storage import FileStorageObserver
  from sacred.metrics_logger import ScalarMetricLogEntry, linearize_metrics
label_desc: Use image node_id 21 for calling a global function with example usage: test_observer_equality(tmpdir) without return types