1
0
forked from VimPlug/jedi

documentation and clean up, #181

This commit is contained in:
David Halter
2013-08-07 18:26:41 +04:30
parent 04e454269c
commit 45432c6cb0
10 changed files with 65 additions and 27 deletions

View File

@@ -1,10 +1,15 @@
"""
Speed tests of Jedi. To prove that certain things don't take longer than they
should.
"""
import time
import functools
from .base import unittest
from .base import TestCase
import jedi
class TestSpeed(unittest.TestCase):
class TestSpeed(TestCase):
def _check_speed(time_per_run, number=4, run_warm=True):
""" Speed checks should typically be very tolerant. Some machines are
faster than others, but the tests should still pass. These tests are