code: def test_trial_logs_invalid_timestamps(
      make_trialref: Callable[[int], trial.Trial],
      name: str,
      timestamp: str,
  ) -> None:
      trialref = make_trialref(1)
  
      with pytest.raises(ValueError):
          list(
              trialref.logs(
                  timestamp_before=timestamp, timestamp_after=None
              )
          )
          list(
              trialref.logs(
                  timestamp_before=None, timestamp_after=timestamp
              )
          )
  
file_path: determined/harness/tests/determined/common/experimental/test_trial.py
imports: import datetime
  from typing import Callable, no_type_check
  from unittest import mock
  import pytest
  import responses
  from determined.common import api
  from determined.common.experimental import checkpoint, determined, trial
  from tests.fixtures import api_responses
label_desc: Use image node_id 4 for calling a global function with example usage: test_trial_logs_invalid_timestamps(make_trialref, name, timestamp) without return types