def run_stddev_tests():
 if (settings.DATABASES[DEFAULT_DB_ALIAS]['ENGINE'] == 'django.db.backends.sqlite3'):
  return False
 class StdDevPop(object, ):
  sql_function = 'STDDEV_POP'
 try:
  connection.ops.check_aggregate_support(StdDevPop())
 except:
  return False
 return True

def run_stddev_tests ( ) : if ( settings . DATABASES [ DEFAULT_DB_ALIAS ] [ 'ENGINE' ] == 'django.db.backends.sqlite3' ) : return False class StdDevPop ( object , ) : sql_function = 'STDDEV_POP' try : connection . ops . check_aggregate_support ( StdDevPop ( ) ) except : return False return True
check to see if stddev/variance tests should be run .