Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
python
/
cpython3
/
1968ad32cd7f46d9bb64826672ef68cdaee35288
/
Lib
/
test
/
test_sets.py
038ca2a
Teach the sets module to correctly compute s-=s and s^=s as the empty set.
by Raymond Hettinger
· 19 years ago
654fcd5
Exercise DocTestSuite's search for __test__.
by Raymond Hettinger
· 20 years ago
70a6b49
Replace backticks with repr() or "%r"
by Walter Dörwald
· 21 years ago
3778f40
Add more identity tests.
by Raymond Hettinger
· 21 years ago
175a6ac
Improve and expand identity tests.
by Raymond Hettinger
· 21 years ago
f9f4c69
SF patch #736962: Port tests to unittest (Contributed by Walter Dörwald).
by Raymond Hettinger
· 21 years ago
6a18012
Improvements to set.py:
by Raymond Hettinger
· 21 years ago
1954035
Keep doctests in sync with the docs.
by Raymond Hettinger
· 21 years ago
21d3a32
Combine the functionality of test_support.run_unittest()
by Walter Dörwald
· 21 years ago
6cca754
TestOnlySetsInBinaryOps: Simplified the non-inplace tests by using
by Tim Peters
· 22 years ago
b7bfe4b
Typo repairs in new code.
by Tim Peters
· 22 years ago
44f14b0
SF bug 693121: Set == non-Set is a TypeError.
by Tim Peters
· 22 years ago
3ba491e
The doctest was printing Sets, but that's unreliable because set
by Tim Peters
· 22 years ago
2dc505e
* Add test for __cmp__()
by Raymond Hettinger
· 22 years ago
35e48d2
SF 643115: Set._update() had a special case for dictionaries which allowed
by Raymond Hettinger
· 22 years ago
0e1183d
remove debugging print
by Jeremy Hylton
· 22 years ago
cd58b8f
Add getstate and setstate implementation to concrete set classes.
by Jeremy Hylton
· 22 years ago
3de7526
Whitespace normalization.
by Tim Peters
· 22 years ago
1eb1fb8
Closes SF bug #628246.
by Raymond Hettinger
· 22 years ago
ea76c98
Implemented <, <=, >, >= for sets, giving subset and proper-subset
by Tim Peters
· 22 years ago
93d8d48
TestSubset(): Generalized the framework to support testing upcoming
by Tim Peters
· 22 years ago
4127e91
Rewrote all remaining assert stmts.
by Tim Peters
· 22 years ago
62c6243
Simplified construction of the test suite.
by Tim Peters
· 22 years ago
de830ca
Simplified code building sets of characters.
by Tim Peters
· 22 years ago
a777799
Ack! Virtually every test here relied on an assert stmt. assert stmts
by Tim Peters
· 22 years ago
0bbb308
Simplified the setup for is-subset testing.
by Tim Peters
· 22 years ago
e87ab3f
Removed < <= > >= from the API. Implemented as comparisons of the
by Raymond Hettinger
· 22 years ago
1b9f5d4
At Tim Peter's suggestion, propagated GvR's binary operator changes to
by Raymond Hettinger
· 22 years ago
045e51a
Expanded tests for sets of sets.
by Raymond Hettinger
· 22 years ago
c3e61e5
Add regression test for proper construction of sets of sets.
by Raymond Hettinger
· 22 years ago
c9196bc
Rename popitem() to pop(). (An idea from SF patch 597444.)
by Guido van Rossum
· 22 years ago
d6cf3af
Set classes and their unit tests, from sandbox.
by Guido van Rossum
· 22 years ago