[issue40331] Increase test coverage for the statistics module

2020-04-19 Thread Tzanetos Balitsaris


Change by Tzanetos Balitsaris :


--
keywords: +patch
pull_requests: +18941
stage:  -> patch review
pull_request: https://github.com/python/cpython/pull/19608

___
Python tracker 
<https://bugs.python.org/issue40331>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue40331] Increase test coverage for the statistics module

2020-04-19 Thread Tzanetos Balitsaris


New submission from Tzanetos Balitsaris :

The statistics module is already highly tested but it seems that there are 4 
statements [0] that are not executed by the equivalent unit tests. 
Specifically, 3 statements which are part of the `_convert`, `_find_lteq`, and 
`_find_rteq` functions, and 1 statement of the `harmonic_mean` function.

[0] 
https://codecov.io/gh/python/cpython/src/8aea4b3605059e243f1827d9328d6fc8d698c0a7/Lib/statistics.py

--
components: Tests
messages: 366788
nosy: tzabal
priority: normal
severity: normal
status: open
title: Increase test coverage for the statistics module
type: enhancement
versions: Python 3.9

___
Python tracker 
<https://bugs.python.org/issue40331>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com