New submission from James King <ja...@agentultra.com>:

I'm working on increasing the line-coverage of the tests for the Set ABC in the 
collections.abc module.

I encountered something a little funky IMO that I'm not sure is an issue or 
bug... but the __and__ method passes a generator object to the constructor of 
the Set subclass' constructor where the code seems to check for Iterator. This 
makes my naive tests for the '&' operator to fail. So I haven't included them 
in this patch, statisfied with the equality tests and isdisjoint.

First patch, advice welcome.

----------
components: Tests
files: set_abc_coverage.patch
keywords: patch
messages: 164632
nosy: agentultra
priority: normal
severity: normal
status: open
title: Line coverage for collectionts.abc.Set
type: enhancement
versions: Python 3.4
Added file: http://bugs.python.org/file26253/set_abc_coverage.patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue15246>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to