code: def test_loads_srid():
      # load a geometry which includes an srid
      geom = loads(
          hex2bin("0101000020E6100000333333333333F33F3333333333330B40")
      )
      assert isinstance(geom, Point)
      assert geom.coords[:] == [(1.2, 3.4)]
      # by default srid is not exported
      result = dumps(geom)
      assert bin2hex(result) == hostorder(
          "BIdd", "0101000000333333333333F33F3333333333330B40"
      )
      # include the srid in the output
      result = dumps(geom, include_srid=True)
      assert bin2hex(result) == hostorder(
          "BIIdd", "0101000020E6100000333333333333F33F3333333333330B40"
      )
      # replace geometry srid with another
      result = dumps(geom, srid=27700)
      assert bin2hex(result) == hostorder(
          "BIIdd", "0101000020346C0000333333333333F33F3333333333330B40"
      )
  
imports: import binascii
  import math
  import struct
  import sys
  import pytest
  from shapely import wkt
  from shapely.geometry import Point
  from shapely.geos import geos_version
  from shapely.tests.legacy.conftest import shapely20_todo
  from shapely.wkb import dump, dumps, load, loads
label_desc: Use image node_id 8 for calling a global function with example usage: test_loads_srid() without return types