[issue18357] add tests for dictview set difference operations

2013-07-04 Thread Fraser Tweedale

New submission from Fraser Tweedale:

The Python documentation states that set-like dictionary view objects support 
set difference (-), however, this behaviour is untested.

Add some tests for this behaviour.

(This issue was discovered because PyPy doesn't support (-) for dictviews, yet 
they claimed to pass the test suite.  Well, they did pass it ^_^

--
components: Tests
files: dictview-set-sub-test.patch
keywords: patch
messages: 192285
nosy: frasertweedale
priority: normal
severity: normal
status: open
title: add tests for dictview set difference operations
type: enhancement
versions: Python 2.7
Added file: http://bugs.python.org/file30771/dictview-set-sub-test.patch

___
Python tracker 
<http://bugs.python.org/issue18357>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue18357] add tests for dictview set difference operations

2013-07-04 Thread Fraser Tweedale

Fraser Tweedale added the comment:

and here's a patch for python3 (the earlier patch is for the 2.7 branch).

--
Added file: http://bugs.python.org/file30773/dictview-set-sub-test-python3.patch

___
Python tracker 
<http://bugs.python.org/issue18357>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com