test_pullWithUnnormalizedPath fails in python3 tests.
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 25/100
- issue の種類
- バグ
- 明瞭さ
- 説明が足りない
- 活発さ
- 停滞
- 技術スタック
- git, python
- 領域
- testing-qa
調査の方向性
まず Python 2 と Python 3 で test_pullWithUnnormalizedPath を実行し、次に git/config.py の traceback、特に release() と write() を調べます。test runner による記録された例外の処理と、最終的な unittest の結果を比較します。Python 3 の動作が説明され、テストが正しい結果を報告すれば完了です。
索引モデルが issue の本文から書いたものです。
説明
For example here
https://circleci.com/gh/box/wavectl/309
The test_pullWithUnnormalizedPath test actually failed. Gave this output:
[test_pullWithUnnormalizedPath.py] ERROR:git.config:Exception during destruction of GitConfigParser
[test_pullWithUnnormalizedPath.py] Traceback (most recent call last):
[test_pullWithUnnormalizedPath.py] File "/home/circleci/project/venv/lib64/python3.6/os.py", line 666, in __getitem__
[test_pullWithUnnormalizedPath.py] value = self._data[self.encodekey(key)]
[test_pullWithUnnormalizedPath.py] KeyError: b'COLUMNS'
[test_pullWithUnnormalizedPath.py]
[test_pullWithUnnormalizedPath.py] During handling of the above exception, another exception occurred:
[test_pullWithUnnormalizedPath.py]
[test_pullWithUnnormalizedPath.py] Traceback (most recent call last):
[test_pullWithUnnormalizedPath.py] File "/home/circleci/project/venv/lib/python3.6/site-packages/git/config.py", line 259, in release
[test_pullWithUnnormalizedPath.py] self.write()
[test_pullWithUnnormalizedPath.py] File "/home/circleci/project/venv/lib/python3.6/site-packages/git/config.py", line 79, in assure_data_present
[test_pullWithUnnormalizedPath.py] return func(self, *args, **kwargs)
[test_pullWithUnnormalizedPath.py] File "/home/circleci/project/venv/lib/python3.6/site-packages/git/config.py", line 488, in write
[test_pullWithUnnormalizedPath.py] with open(self._file_or_files, "wb") as fp:
[test_pullWithUnnormalizedPath.py] FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmpxykt9gv0/.git/config'
[test_pullWithUnnormalizedPath.py] .
[test_pullWithUnnormalizedPath.py] ----------------------------------------------------------------------
[test_pullWithUnnormalizedPath.py] Ran 1 test in 3.850s
[test_pullWithUnnormalizedPath.py]
[test_pullWithUnnormalizedPath.py] OK
- Why is this test failing in python3 only. It passes in python2
- Even though there was an exeption, why did the python unittest pass and print this :
[test_pullWithUnnormalizedPath.py] OK?
- 主要言語
- Python
- スター
- 16
- フォーク
- 10
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
box/wavectl のほかの issue
-
documentation
難易度 3/5 1〜2日 初心者へのやさしさ 25/100
-
Add coverage testsオープンtestplan
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
-
enhancement
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
-
testplan
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
-
enhancement
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
spec-kitty/spec-kitty#6112 ·
メンテナーはふだん 1 日以内に返信
-
[Bug]: OpenRouter streaming chunks report the requested router name instead of the model OpenRouter served対応中かも @Mrun25 が今日担当しました。 オープンbug llm translation
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
BerriAI/litellm#46095 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
uberdeveloper/fastbt#29 ·
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
andrew-blake/melcloudhome#368 ·
メンテナーはふだん 1 日以内に返信
-
lane:discover
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
SPARDiffData/differential-data-collection#33 ·
メンテナーはふだん 1 日以内に返信