code: def test_get_sri_hashes_for_weird_versions(self, v) -> None:
      h = resources.get_sri_hashes_for_version(v)
      # 0.1.0 and 0.0.2 are tagged but untestable
      if v <= "0.2.0":
          return
  
      # other early versions omitted trailing .0 in filnames
      v = v.rstrip(".0")
      assert f"bokeh-{v}.js" in h
      assert f"bokeh-{v}.min.js" in h
  
imports: from __future__ import annotations
  import pytest
  import os
  import re
  import subprocess
  import sys
  import bs4
  from packaging.version import Version
  import bokeh.util.version
  from bokeh.models import Model
  from bokeh.resources import RuntimeMessage, _get_cdn_urls
  from bokeh.settings import LogLevel, settings
  import bokeh.resources
label_desc: Use image node_id 3 for calling the TestSRIHashes obj's underlying member method code with example usage: obj.test_get_sri_hashes_for_weird_versions(v) without return types