[issue25320] unittest loader.py TypeError when code directory contains a socket

2016-04-07 Thread Mike Miller
Mike Miller added the comment: Just as a side note, the patch also works for soft links that point to files that don't exist. Thanks for getting this fixed! -- nosy: +Mike Miller ___ Python tracker

[issue25320] unittest loader.py TypeError when code directory contains a socket

2016-03-14 Thread Robert Collins
Robert Collins added the comment: Thanks for the patch; the test may be redundant but not enough to matter for now - and the bug really doth need fixing, so I've applied it as-is. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed

[issue25320] unittest loader.py TypeError when code directory contains a socket

2016-03-14 Thread Roundup Robot
Roundup Robot added the comment: New changeset 1d72402c1c91 by Robert Collins in branch 'default': #25320: Handle sockets in directories unittest discovery is scanning. https://hg.python.org/cpython/rev/1d72402c1c91 -- ___ Python tracker

[issue25320] unittest loader.py TypeError when code directory contains a socket

2016-03-14 Thread Roundup Robot
Roundup Robot added the comment: New changeset efc9836e0c83 by Robert Collins in branch '3.5': #25320: Handle sockets in directories unittest discovery is scanning. https://hg.python.org/cpython/rev/efc9836e0c83 -- nosy: +python-dev ___ Python

[issue25320] unittest loader.py TypeError when code directory contains a socket

2015-11-23 Thread Victor van den Elzen
Victor van den Elzen added the comment: Ping -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue25320] unittest loader.py TypeError when code directory contains a socket

2015-10-20 Thread Victor van den Elzen
Victor van den Elzen added the comment: Alternatively, patch-with-seperate-test.patch creates a seperate function to test for this issue. -- Added file: http://bugs.python.org/file40826/patch-with-seperate-test.patch ___ Python tracker

[issue25320] unittest loader.py TypeError when code directory contains a socket

2015-10-20 Thread Victor van den Elzen
Victor van den Elzen added the comment: patch-with-test.patch is a patch against current tip (c3cec0f77eff+). It applies cleanly to 3.5. It seemed simplest to include the socket in test_find_tests. -- Added file: http://bugs.python.org/file40825/patch-with-test.patch

[issue25320] unittest loader.py TypeError when code directory contains a socket

2015-10-20 Thread Victor van den Elzen
Changes by Victor van den Elzen : Removed file: http://bugs.python.org/file40690/unittest_socket.diff ___ Python tracker ___

[issue25320] unittest loader.py TypeError when code directory contains a socket

2015-10-11 Thread Robert Collins
Robert Collins added the comment: The fix is appropriate (we might want to think about symlinks in the future). I'd very much like a test for it (in Lib/unittest/test/test_discovery.py) and it should be applied to 3.5, master - older versions had this wrapped up in simpler code and won't fail

[issue25320] unittest loader.py TypeError when code directory contains a socket

2015-10-09 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- nosy: +ezio.melotti, michael.foord, rbcollins versions: +Python 3.6 ___ Python tracker ___

[issue25320] unittest loader.py TypeError when code directory contains a socket

2015-10-05 Thread Victor van den Elzen
New submission from Victor van den Elzen: Hi, when trying to run tests after upgrading from Python 3.4 to Python 3.5 I encountered the following exception: Traceback (most recent call last): ... File "/usr/lib/python3.5/unittest/loader.py", line 341, in discover tests =