code: def test_dont_queue_pending_trials_for_promotions(
      self, space: Space, status: str
  ):
      pbt = _create_algo(space).unwrap(PBT)
  
      trial = sample_trials(pbt.space, num=1, status=status)[0]
      pbt.register(trial)
  
      # Should not queue anything
      pbt._queue_trials_for_promotions([trial])
      assert len(pbt._queue) == 0
  
imports: from __future__ import annotations
  import functools
  import logging
  from typing import ClassVar
  import numpy
  import pytest
  from base import ExploitStub, ExploreStub, sample_trials
  from pytest_mock import MockerFixture
  from orion.algo.pbt.pbt import PBT, compute_fidelities
  from orion.algo.space import Space
  from orion.core.worker.primary_algo import SpaceTransform, create_algo
  from orion.core.worker.transformer import ReshapedSpace, TransformedSpace
  from orion.core.worker.trial import Trial
  from orion.testing.algo import BaseAlgoTests, TestPhase
label_desc: Use image node_id 9 for calling the TestPBTObserve obj's underlying member method code with example usage: obj.test_dont_queue_pending_trials_for_promotions(space, status) without return types