push
github
8 of 13 new or added lines in 3 files covered. (61.54%)
3 existing lines in 1 file now uncovered.22027 of 24582 relevant lines covered (89.61%)
1.79 hits per line
|
import random |
2✔ |
|
import typing |
2✔ |
3 |
|
|
4 |
|
|
|
_T = typing.TypeVar('_T')
|
2✔ |
6 |
|
|
7 |
|
|
|
def shuffled(items: typing.Iterable[_T]) -> list[_T]: |
2✔ |
NEW
|
_itemlist = list(items)
|
× |
NEW
|
random.shuffle(_itemlist) |
× |
NEW
|
return _itemlist
|
× |