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()

import cassiopeia as cass


def print_masteries():
    for mastery in cass.get_masteries():
        print(mastery.name)


if __name__ == "__main__":
    print_masteries()

Remove redundant import, change function name.
Remove redundant import, change function name.

  import cassiopeia as cass
- from cassiopeia.core import Summoner
  
- def test_cass():
-     name = "Kalturi"
  
+ def print_masteries():
-     masteries = cass.get_masteries()
+     for mastery in cass.get_masteries():
-     for mastery in masteries:
          print(mastery.name)
  
  
  if __name__ == "__main__":
-     test_cass()
+     print_masteries()
  
Remove redundant import, change function name.
## Code Before:
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()

## Instruction:
Remove redundant import, change function name.
## Code After:
import cassiopeia as cass


def print_masteries():
    for mastery in cass.get_masteries():
        print(mastery.name)


if __name__ == "__main__":
    print_masteries()
