Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Orderable Country Country needs to be orderable if it is part of the primary key and cascade deletion is in use. * total ordering added. Using six to determine whether other is string. * test of Country order operators. * Fixed buggy order precedence in tests. * NotImplemented is a returned type and not a thrown exception. * total_ordering replaces explicit declaration of all order operators. * Removed implementation check for __le__, __ge__ and __gt__. * Parametrized test_ordering replaces test_op_operator.
- Loading branch information
Showing
2 changed files
with
39 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters