code: def test_upload_download(tmp_path: Path) -> None:
      artifact_id = "dummy-uuid"
      dummy_content = b"Hello World"
      backend = FileSystemArtifactStore(tmp_path)
      backend.write(artifact_id, io.BytesIO(dummy_content))
      with backend.open_reader(artifact_id) as f:
          actual = f.read()
      assert actual == dummy_content
  
file_path: optuna/tests/artifacts_tests/test_filesystem.py
imports: import io
  from pathlib import Path
  import pytest
  from optuna.artifacts import FileSystemArtifactStore
  from optuna.artifacts.exceptions import ArtifactNotFound
label_desc: Use image node_id 1 for calling a global function with example usage: test_upload_download(tmp_path) without return types