Commits

Andriy Kornatskyy  committed 63317a4

Introduced benchmark module.

  • Participants
  • Parent commits 49a152d

Comments (0)

Files changed (2)

File src/wheezy/core/comp.py

     ref_gettext = lambda t: t.gettext
 else:  # pragma: nocover
     ref_gettext = lambda t: t.ugettext
+
+if PY2 and PY_MINOR < 6:  # pragma: nocover
+    # TODO:
+    timeit = lambda f, number: 1.0
+else:  # pragma: nocover
+    from timeit import timeit

File src/wheezy/core/descriptors.py

         >>> a.count
         1
     """
+
     def __init__(self, f):
         self.f = f
         self.__module__ = f.__module__