old_contents: import cassiopeia as cass
  from cassiopeia.core import Summoner
  
  def test_cass():
      name = "Kalturi"
  
      masteries = cass.get_masteries()
      for mastery in masteries:
          print(mastery.name)
  
  
  if __name__ == "__main__":
      test_cass()
  
new_contents: import cassiopeia as cass
  
  
  def print_masteries():
      for mastery in cass.get_masteries():
          print(mastery.name)
  
  
  if __name__ == "__main__":
      print_masteries()
  
subject: Remove redundant import, change function name.