code: def test_ordered_choice_weird_values() -> None:
      choice = par.TransitionChoice([0, np.nan, np.inf])
      choice.value = np.nan
      assert choice.value is np.nan
      choice.value = np.inf
      assert choice.value == np.inf
  
imports: import pickle
  import typing
  import pytest
  import numpy
  from nevergrad.common import errors
  from .None import parameter
label_desc: Use image node_id 22 for calling a global function with example usage: test_ordered_choice_weird_values() without return types