ichabod801 / t_games

A collection of command-line interface games written in Python.
GNU General Public License v3.0
21 stars 4 forks source link

Pool.hold failing with a Pool parameter #490

Closed ichabod801 closed 4 years ago

ichabod801 commented 4 years ago

It accepts lists, tuples, and sets, but assumes a Pool is a single value. I need a better test for iterator there (line 717 in dice.py).

ichabod801 commented 4 years ago

It looks like the only way to really test this is to try getting iter(item) and handling any TypeError that occurs. I find this unsatisfactory, but will use it.