code: def test_training_not_started(self) -> None:
      with pytest.raises(errors.InternalException):
          self.context.is_epoch_start()
      with pytest.raises(errors.InternalException):
          self.context.is_epoch_end()
      with pytest.raises(errors.InternalException):
          self.context.current_train_batch()
      with pytest.raises(errors.InternalException):
          self.context.current_train_epoch()
      self.context._managed_training = True
      with pytest.raises(errors.InternalException):
          self.context._should_communicate_and_update()
  
file_path: determined/harness/tests/experiment/pytorch/test_pytorch_context.py
imports: import pytest
  import torch
  import determined
  from determined import errors, pytorch
label_desc: Use image node_id 3 for calling the TestPyTorchContext obj's underlying member method code with example usage: obj.test_training_not_started() without return types