code: def test_log_null_bytes() -> None:
      config_obj = conf.load_config(
          conf.fixtures_path("no_op/single.yaml")
      )
      config_obj["hyperparameters"]["write_null"] = True
      config_obj["max_restarts"] = 0
      config_obj["searcher"]["max_length"] = {"batches": 1}
      experiment_id = exp.run_basic_test_with_temp_config(
          config_obj, conf.fixtures_path("no_op"), 1
      )
  
      trials = exp.experiment_trials(experiment_id)
      assert len(trials) == 1
      logs = exp.trial_logs(trials[0].trial.id)
      assert len(logs) > 0
  
imports: import json
  import subprocess
  import tempfile
  import pytest
  from determined.common import api, util
  from determined.common.api import bindings
  from determined.experimental import Determined
  from tests import api_utils
  from tests import command
  from tests import config
  from tests import experiment
  from tests.api_utils import determined_test_session
  from tests.cluster.test_checkpoints import wait_for_gc_to_finish
label_desc: Use image node_id 8 for calling a global function with example usage: test_log_null_bytes() without return types