summaryrefslogtreecommitdiff
path: root/tests/functional/r/recursion_error_940.py
blob: 4a9f346cb6fcc4668349179f397e0c62ecc5335d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# pylint: disable=missing-docstring, too-few-public-methods, useless-object-inheritance
import datetime


class NewDate(datetime.date):
    @classmethod
    def today(cls):
        return cls(2010, 1, 1)


class Next(object):
    def __init__(self):
        datetime.date = NewDate