code: def test_validate_same_number_of_rows(spark, rg):
      genotype_df = pd.DataFrame(rg.random((4, 3)))
      phenotype_df = pd.DataFrame(rg.random((4, 5)))
      covariate_df = pd.DataFrame(rg.random((5, 2)))
      with pytest.raises(ValueError):
          run_linear_regression_spark(
              spark, genotype_df, phenotype_df, covariate_df
          )
  
imports: import functions
  import numpy
  import statsmodels.api
  import pandas
  import glow.gwas.functions
  import glow.gwas.lin_reg
  import pytest
label_desc: Use image node_id 21 for calling a global function with example usage: test_validate_same_number_of_rows(spark, rg) without return types