[New-bugs-announce] [issue18223] Refactor test_tarfile

Serhiy Storchaka report at bugs.python.org
Sat Jun 15 16:18:34 CEST 2013

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 <report at bugs.python.org>

More information about the New-bugs-announce mailing list