Xion / pyqcy

QuickCheck-like testing framework for Python
http://xion.io/pyqcy
Other
41 stars 0 forks source link

A built-in set generator #24

Closed beloglazov closed 12 years ago

beloglazov commented 12 years ago

Hi Karol,

I just found that there is no generator for sets in pyqcy. Of course it's possible to just generate a list and then call set() on it. But why not have a built-in generator for a built-in data structure?

PS: I hope I'm not annoying you too much: I'm just trying to use your awesome library and facing different sorts of issues.

Thanks, Anton

Xion commented 12 years ago

Lack of set generator looks like an oversight indeed. Using apply(set, list_(...)) should work for now, but that's of course less than ideal. Will be fixed :)

And no, you're not annoying - quite the opposite :)

beloglazov commented 12 years ago

Thanks! :)

Xion commented 12 years ago

Implemented, will be part of 0.5 release. (I don't want new version for just this trivial change).