data-8 / datascience

A Python library for introductory data science
https://www.data8.org/datascience/
BSD 3-Clause "New" or "Revised" License
626 stars 295 forks source link

Added tests for table sample with distribution method #602

Closed AlexMuresan closed 1 year ago

AlexMuresan commented 1 year ago

[x] Wrote test for feature [ ] Added changes to CHANGELOG.md [ ] Bumped version number (delete if unneeded)

Changes proposed: Test for Table sample_from_distribution method

adnanhemani commented 1 year ago

Hi, closing this PR - it's quite literally a copy of the doctests so doesn't add any value to the test suite. If you wish to contribute value to our test suite, please take a look at the Coveralls and find LOCs that are untested and create test cases around those. For reference, here is the Coveralls: https://coveralls.io/builds/62164828/source?filename=datascience%2Ftables.py#L2322