code: def _test_deprecation(self) -> None:
      with pytest.warns(BokehDeprecationWarning):
          bcpn.NonNullable(List(Int))
  
imports: from __future__ import annotations
  import pytest
  import warnings
  from typing import TYPE_CHECKING, Union
  from bokeh.core.properties import Dict, Instance, Int, List, String
  from bokeh.core.property.wrappers import PropertyValueDict, PropertyValueList
  from bokeh.util.warnings import BokehDeprecationWarning
  from tests.support.util.api import verify_all
  from _util_property import _TestHasProps, _TestModel
  import bokeh.core.property.nullable
label_desc: Use image node_id 1 for calling the Test_NonNullable obj's underlying member method code with example usage: obj._test_deprecation() without return types