code: def test_s3_observer_equality():
      obs_one = S3Observer(
          bucket=BUCKET, basedir=BASEDIR, region=REGION
      )
      obs_two = S3Observer(
          bucket=BUCKET, basedir=BASEDIR, region=REGION
      )
      different_basedir = S3Observer(
          bucket=BUCKET, basedir="another/dir", region=REGION
      )
      different_bucket = S3Observer(
          bucket="other-bucket", basedir=BASEDIR, region=REGION
      )
      assert obs_one == obs_two
      assert obs_one != different_basedir
      assert obs_one != different_bucket
  
imports: import datetime
  import pytest
  import json
  import os
  from sacred.observers import S3Observer
label_desc: Use image node_id 9 for calling a global function with example usage: test_s3_observer_equality() without return types