code: def test_valid_geometrycollection(self):
      point = geojson.Point((10, 20))
      poly = geojson.Polygon(
          [
              [
                  (2.38, 57.322),
                  (23.194, -20.28),
                  (-120.43, 19.15),
                  (2.38, 57.322),
              ]
          ]
      )
  
      geom_collection = geojson.GeometryCollection(
          geometries=[point, poly]
      )
      self.assertTrue(geom_collection.is_valid)
  
imports: import unittest
  import geojson
label_desc: Use image node_id 2 for calling the TestValidationGeometryCollection obj's underlying member method code with example usage: obj.test_valid_geometrycollection() without return types