-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Fix issue with SetValidator and large valid_set (#50) A new function stringify_set only stringifies n elements of a given set. * Use itertools.islice for better python2 performance * Add SetValidator test for coverage * Fix stringify_set: Return {...} instead of [...] * Add test cases for stringify_set Fix stringify_set: Sort the elements before displaying for small sets * Remove previously introduced test case for set validator * Add parameter checks for stringify_set * Rename stringify_set to _stringify_set * Revert d355def
- Loading branch information
Showing
2 changed files
with
33 additions
and
2 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