[issue26481] unittest discovery process not working without .py source files

2016-04-27 Thread Martin Panter

Martin Panter added the comment:

Please see Issue 26859; I think it is describing the same problem, and a fix is 
proposed (although no regression test)

--
nosy: +martin.panter
resolution:  -> duplicate
status: open -> closed
superseder:  -> unittest fails with "Start directory is not importable"

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue26481] unittest discovery process not working without .py source files

2016-03-13 Thread Robert Collins

Robert Collins added the comment:

Sorry, I missed the little footnote on case 4 about still supporting 
source-less distributions. I guess in that context we do still need to support 
this.

However - please check that this does indeed happen on Python master - 3.6. 
unittest does evolve and if you're testing on 2.7 or something your bug is 
perhaps already fixed.

--
resolution: not a bug -> 
stage: resolved -> test needed
status: closed -> open

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue26481] unittest discovery process not working without .py source files

2016-03-13 Thread Robert Collins

Robert Collins added the comment:

Python has stopped supporting .pyc-only distributions - see 
https://www.python.org/dev/peps/pep-3147/#case-3-pycache-foo-magic-pyc-with-no-source
 - and so, while what you are seeing is inconsistent with import in some older 
python's, it is not a bug in newer Python's, and I don't see any benefit in 
doing a backport-only fix for it.

--
resolution:  -> not a bug
stage:  -> resolved
status: open -> closed
type:  -> behavior

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue26481] unittest discovery process not working without .py source files

2016-03-05 Thread Ned Deily

Changes by Ned Deily :


--
nosy: +ezio.melotti, michael.foord, rbcollins

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue26481] unittest discovery process not working without .py source files

2016-03-04 Thread Stefan Seefeld

New submission from Stefan Seefeld:

The unittest test discovery right now only looks into sub-packages if they 
contain a `__init__.py` file. That's an unnecessary requirement, as packages 
are also importable if only `__init__.pyc` is present.

--
components: Library (Lib)
messages: 261192
nosy: stefan
priority: normal
severity: normal
status: open
title: unittest discovery process not working without .py source files

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com