testing/test_xspec.py::TestMakegateway::test_popen_nice FAILED
還沒有人認領這個 Issue。
評估
- 難度
- 3/5
- 預估耗時
- 1-2 天
- 新手友好度
- 35/100
- Issue 類型
- 缺陷
- 描述清晰度
- 基本清楚
- 活躍度
- 停滯
- 技術堆疊
- python
研究方向
從 testing/test_xspec.py::TestMakegateway::test_popen_nice 以及失敗訊息中顯示的 makegateway("popen//nice=5") 路徑開始。在 Python 3.5 或 Debian 環境中重現該測試,檢查 popen nice 選項的處理方式,並確認該測試能可靠通過,同時不破壞現有的 popen 行為。
由索引模型根據 Issue 內容生成。
描述
- Bitbucket: https://bitbucket.org/hpk42/execnet/issue/54
- Originally reported by: @danstender
- Originally created at: 2017-03-19T18:20:53.165
Another test failure from Debian packaging. This one belongs to the same class as #53 (randomly appearing).
testing/test_xspec.py::TestMakegateway::test_popen_nice FAILED
=================================== FAILURES ===================================
_______________________ TestMakegateway.test_popen_nice ________________________
self = <test_xspec.TestMakegateway object at 0x7f57cbff97b8>
makegateway = <bound method Group.makegateway of <Group ['gw1']>>
@pytest.mark.skipif("not hasattr(os, 'nice')")
def test_popen_nice(self, makegateway):
gw = makegateway("popen")
def getnice(channel):
import os
if hasattr(os, 'nice'):
channel.send(os.nice(0))
else:
channel.send(None)
remotenice = gw.remote_exec(getnice).receive()
gw.exit()
if remotenice is not None:
gw = makegateway("popen//nice=5")
remotenice2 = gw.remote_exec(getnice).receive()
> assert remotenice2 == remotenice + 5
E assert 0 == (0 + 5)
testing/test_xspec.py:136: AssertionError
This one comes up when testing on Python 3.5. Build log: https://people.debian.org/~sanvila/build-logs/execnet/execnet_1.4.1-3_amd64-20170207T152032Z.
Thanks for hints,
DS
- 主要語言
- Python
- 星號
- 103
- 分支
- 50
- 平均合併
- 5 天 12 小時
- 30 天內合併 PR
- 4
環境準備
這個專案沒有提供開發容器、Dockerfile 或貢獻指南,環境需要你自己搭建:先看它的 README,通用步驟見我們的新手貢獻指南。
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
pytest-dev/execnet 的其他 Issue
-
難度 4/5 3-5 天 新手友好度 45/100
pytest-dev/execnet#374 · 3 則留言 ·
-
難度 3/5 1-2 天 新手友好度 45/100
pytest-dev/execnet#306 · 1 則留言 ·
-
難度 4/5 3-5 天 新手友好度 35/100
pytest-dev/execnet#279 · 1 個 reaction ·
-
Exception ignored in atexit callback / RuntimeError: can't create new thread at interpreter shutdown可能重新可做 @RonnyPfannschmidt 於 908 天前認領,目前沒有進行中的 PR。 未關閉bug
pytest-dev/execnet#271 · 4 則留言 · 已指派 1 人 ·
-
難度 5/5 一週以上 新手友好度 10/100
pytest-dev/execnet#205 ·
查看 pytest-dev/execnet 的全部 Issue
相似的 Issue
-
dependencies feature github_actions good first issue
難度 2/5 1-3 小時 新手友好度 62/100
wemake-services/wemake-django-template#3149 ·
維護者通常 1 天內回覆
-
upstream update
難度 2/5 1-3 小時 新手友好度 65/100
conan-io/conan-center-index#31142 ·
維護者通常 1 天內回覆
-
area:core bug
難度 2/5 1-3 小時 新手友好度 78/100
維護者通常 1 天內回覆
-
request-theme
難度 2/5 1 小時以內 新手友好度 70/100
LizardByte/ThemerrDB#8877 · 1 則留言 ·
維護者通常 1 天內回覆
-
area/install-update comp/gateway P0 sweeper:risk-compatibility type/bug
難度 2/5 1 小時以內 新手友好度 72/100
NousResearch/hermes-agent#135997 · 3 則留言 ·
維護者通常 1 天內回覆