【发布时间】:2014-12-12 23:50:54
【问题描述】:
我使用nose-gae 已经有一段时间了,我刚刚更新到发布仅3 天的0.3.0。我在 Mac OS X Yosemite 上运行 GAE SDK 1.9.17。
当我运行测试时,我收到以下错误:
/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python: 无法打开文件 '/Library/Frameworks/Python.framework/Versions/2.7/bin/_python_runtime.py': [Errno 2] 没有这样的文件或目录
果然,那个文件不存在。但是,我的测试似乎运行成功(下面的测试输出)。运行 dev_appserver 时,我没有看到任何此类错误。
我不知道_python_runtime.py 是什么以及导致错误的原因。任何帮助弄清楚发生了什么都将不胜感激。
====
$ nosetests -x tests/functional_tests.py
................/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python: can't open file '/Library/Frameworks/Python.framework/Versions/2.7/bin/_python_runtime.py': [Errno 2] No such file or directory
...
----------------------------------------------------------------------
Ran 19 tests in 11.032s
OK
【问题讨论】:
标签: python google-app-engine nose nose-gae