New submission from Serhiy Storchaka: test_tarfile already use parametric classes approach for constructing different tests. The proposed patch extends this approach to generating tests for different compression types.
In additional this patch: * Makes test_tarfile discoverable. * Uses more special tests (i.e. assertEqual, assertIs) instead of assertTrue. * Adds explicit test skips instead of reporting skipped tests as passed. * Wraps long lines. ---------- components: Tests files: test_tarfile.patch keywords: patch messages: 191209 nosy: ezio.melotti, lars.gustaebel, michael.foord, pitrou, serhiy.storchaka, zach.ware priority: normal severity: normal stage: patch review status: open title: Refactor test_tarfile type: enhancement versions: Python 3.3, Python 3.4 Added file: http://bugs.python.org/file30601/test_tarfile.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue18223> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com