Python files with a name starting with '.' are not analysed but pythoscope still tries to build tests for it.
Bug #487138 reported by
Pieter Van Dyck
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Pythoscope |
Fix Released
|
Medium
|
Michal Kwiatkowski |
Bug Description
environment: windows, python 2.5.4, pythoscope 1.4.2
test case in attachment
log:
E:\projects\
E:\projects\
INFO: No changes discovered in the source code, skipping dynamic inspection.
ERROR: Couldn't find information on module '.my_cool_
Changed in pythoscope: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Pythoscope failed because of an exception, that is a bug and I'll fix that.
Another issue is whether Pythoscope should inspect modules that it ignored earlier but were explicitly specified on the command line. I would say yes, it should do that. In your particular case pythoscope should notice that ".my_cool_class.py" wasn't inspected earlier, so it should inspect it and then generate tests for it. Do you think that's a good solution?