PythonTutor / CodeLens does not allow "import test"
評価
調査の方向性
Start with the CodeLens/PythonTutor integration used by the page at Functions/ProgramDevelopment.html and compare this report with rs issue 1146, including its unittest example. Determine where the import restriction is configured and verify that the page's import test example can run in CodeLens; the related issue may identify the active location for the fix.
索引モデルが issue の本文から書いたものです。
説明
This is the same as https://github.com/RunestoneInteractive/rs/issues/1146 ; I'm not sure where this report belongs.
What Page were you on
https://runestone.academy/ns/books/published/thinkcspy/Functions/ProgramDevelopment.html
Describe the bug
The code there includes "import test" -- but the current version of PythonTutor it uses does not allow that import, so you can't use it / CodeLens.
A Screenshot is worth a thousand words
What is your username
github: dandrake
runestone: ddrake1
I have some sample code that uses unittest: https://github.com/RunestoneInteractive/rs/issues/1146#issuecomment-3888123181
- 主要言語
- HTML
- スター
- 136
- フォーク
- 199
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドなし
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
RunestoneInteractive/thinkcspy のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
RunestoneInteractive/thinkcspy#281 · コメント 1 件 ·
-
bug help wanted
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
RunestoneInteractive/thinkcspy#278 · コメント 6 件 ·
-
Hidden prefix visible to students in Active Code Exercises via Code Lens再び着手できるかも @morozov-av が 274 日前に担当しましたが、オープン中のプルリクエストはありません。 オープンenhancement
RunestoneInteractive/thinkcspy#277 · コメント 1 件 · 担当者 1 名 ·
-
The "Expected" and "Actual" labels on autograded assertions for ActiveCode exercises are backwardsオープン
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
RunestoneInteractive/thinkcspy#276 · コメント 2 件 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 38/100
RunestoneInteractive/thinkcspy の issue をすべて見る
似ている issue
-
bug(stubgen): `typing` / `_typeshed` imports are emitted above `from __future__ import annotations`オープンstubgen
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 2 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
SchemaStore/schemastore#6535 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 1/5 1時間未満 初心者へのやさしさ 91/100
scenario-labs/skills#306 ·
メンテナーはふだん 1 日以内に返信
-
✨ Propose the missing gate after three same-class findings instead of filing a fourth対応中かも @hivecommons-hive が今日担当しました。 オープンenhancement help wanted hive/claimed-by-scanner stage/040-covered-by-pr
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
hivecommons/hive#13428 · コメント 3 件 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
-
Tooling cannot read the SDK's own package.json対応中かも @Escelit が今日担当しました。 オープンarea:sdk difficulty:easy help wanted points:100 Stellar Wave
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
Miracle656/veil#1217 · コメント 3 件 ·
メンテナーはふだん 3 日以内に返信