Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

PythonTutor / CodeLens does not allow "import test"

オープン
#279 コメント 4 件 リアクション 0 件 担当者 0 名 GitHub で見る

@dandrake がすでに取り組んでいます。

2026年2月12日 から。

  • #280 @dandrake による — オープン

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
python
領域
tooling

調査の方向性

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

Image

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 はありません

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

  • Dockerfile・Docker Compose ファイルなし
  • プルリクエストのテンプレートなし
  • コントリビューションガイドなし

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

RunestoneInteractive/thinkcspy のほかの issue

RunestoneInteractive/thinkcspy の issue をすべて見る

似ている issue

DevTools の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。