code: def test_tuples_can_be_records_too():
      assert validate("{x: int, y: real}", (1, 2.0))
      assert not validate("{x: int, y: real}", (1.0, 2))
  
file_path: datashader/datashader/datashape/tests/test_user.py
imports: import pytest
  from datashader.datashape.user import issubschema, validate
  from datashader.datashape import dshape
  from datetime import date, time, datetime
  import numpy
label_desc: Use image node_id 5 for calling a global function with example usage: test_tuples_can_be_records_too() without return types