docstr: Test NPO with invalid no entropy configuration.
docstr_tok: ["Test","NPO","with","invalid","no","entropy","configuration","."]
code: def test_npo_with_invalid_no_entropy_configuration(self):
      """Test NPO with invalid no entropy configuration."""
      with pytest.raises(ValueError):
          NPO(
              env_spec=self.env.spec,
              policy=self.policy,
              baseline=self.baseline,
              sampler=self.sampler,
              entropy_method="no_entropy",
              policy_ent_coeff=0.02,
          )
  
file_path: garage/tests/garage/tf/algos/test_npo.py
imports: import pytest
  import tensorflow
  from garage.envs import GymEnv, normalize
  from garage.sampler import LocalSampler
  from garage.tf.algos import NPO
  from garage.tf.baselines import GaussianMLPBaseline
  from garage.tf.policies import GaussianMLPPolicy
  from garage.trainer import TFTrainer
  from tests.fixtures import snapshot_config, TfGraphTestCase
label_desc: Use image node_id 7 for calling the TestNPO obj's underlying member method code with example usage: obj.test_npo_with_invalid_no_entropy_configuration() without return types