LoginSignup
1
0

More than 5 years have passed since last update.

AttributeError: 'module' object has no attribute 'MyTestCase' でハマった

Posted at

テストファイルのファイル名を test.pyにしてたら以下のエラーでハマった。

AttributeError: 'module' object has no attribute 'MyTestCase'

ファイル名をtest.py以外すれば問題なかった。

んーPycharmのバージョンアップ前は大丈夫だったんだけど、Pycharmが絡んでる感じがあんましないんだよな。
PycharmのDocker統合の/optディレクトリあたりが関係してるのかなー。

1
0
1

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0