funkload基准测试失败

时间:2013-06-26 13:39:14

标签: python testing funkload

我正在使用funkload测试我的Python脚本。

我使用这个命令:

fl-run-bench -c 1:2 test_RecuperationPhotos.py RecuperationPhotos.test_RecPhotos

我有这个错误:

Traceback (most recent call last):
  File "/usr/local/bin/fl-run-bench", line 8, in <module>
    load_entry_point('collective.funkload==0.3', 'console_scripts', 'fl-run-bench')()
  File "build/bdist.macosx-10.8-intel/egg/pkg_resources.py", line 343, in load_entry_point
  File "build/bdist.macosx-10.8-intel/egg/pkg_resources.py", line 2354, in load_entry_point
  File "build/bdist.macosx-10.8-intel/egg/pkg_resources.py", line 2060, in load
  File "/Library/Python/2.7/site-packages/collective/funkload/bench.py", line 8, in <module>
    from zope.testing.testrunner import runner
ImportError: cannot import name runner

我无法理解错误的含义。

1 个答案:

答案 0 :(得分:0)

我认为你有安装funkload的情况。我上个月也有同样的问题。