import cassiopeia as cass
from cassiopeia.core import Summoner

def test_cass():
    name = "Kalturi"

    runes = cass.get_runes()
    for rune in runes:
        if rune.tier == 3:
            print(rune.name)


if __name__ == "__main__":
    test_cass()

import cassiopeia as cass


def print_t3_runes():
    for rune in cass.get_runes():
        if rune.tier == 3:
            print(rune.name)


if __name__ == "__main__":
    print_t3_runes()

Change function name, remove unneeded summoner name