def test_to_weekday_from_weekday():
    day = recurrence.Weekday(4)

    assert recurrence.to_weekday(day) == day
dataset/ETHPy150Open django-recurrence/django-recurrence/tests/test_to_weekday.py/test_to_weekday_from_weekday/original