@parametrize('varname', [attr for attr in dir(tables) if (not attr.startswith('_'))])
def test_variable_names(varname):
 table = getattr(tables, varname)
 try:
  if ((not issubclass(table, tables.TableBase)) or (table is tables.TableBase)):
   return
 except TypeError:
  return
 classname = table.__name__
 if (classname and varname[0].isupper()):
  assert (varname == classname), ('%s refers to %s' % (varname, classname))

@ parametrize ( 'varname' , [ attr for attr in dir ( tables ) if ( not attr . startswith ( '_' ) ) ] ) def test_variable_names ( varname ) : table = getattr ( tables , varname ) try : if ( ( not issubclass ( table , tables . TableBase ) ) or ( table is tables . TableBase ) ) : return except TypeError : return classname = table . __name__ if ( classname and varname [ 0 ] . isupper ( ) ) : assert ( varname == classname ) , ( '%s refers to %s' % ( varname , classname ) )
we want pokedex .