示例#1
0
def test_asv_benchmark_timings():
    # Check the benchmark runner runs
    util.check_call([
        sys.executable, '-masv.benchmark', 'timing', '--setup=import time',
        'time.sleep(0)'
    ],
                    cwd=os.path.join(os.path.dirname(__file__), '..'))
示例#2
0
文件: test_benchmarks.py 项目: pv/asv
def test_asv_benchmark_timings():
    # Check the benchmark runner runs
    util.check_call([sys.executable, '-masv.benchmark', 'timing',
                     '--setup=import time',
                     'time.sleep(0)'])
示例#3
0
def test_asv_benchmark_timings():
    # Check the benchmark runner runs
    util.check_call([sys.executable, '-masv.benchmark', 'timing',
                     '--setup=import time',
                     'time.sleep(0)'],
                    cwd=os.path.join(os.path.dirname(__file__), '..'))