Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

Sex dumps core (Sex is a Simple editor for X11) -- Seen on debian bugtracking


devel / comp.lang.python.announce / [Python-announce] unittest_expander 0.4.3 released

SubjectAuthor
o [Python-announce] unittest_expander 0.4.3 releasedJan Kaliszewski

1
[Python-announce] unittest_expander 0.4.3 released

<167935404799.11475.10191639310773823849@mail.python.org>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=9980&group=comp.lang.python.announce#9980

  copy link   Newsgroups: comp.lang.python.announce
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!news.szaf.org!fu-berlin.de!uni-berlin.de!not-for-mail
From: zuo...@kaliszewski.net (Jan Kaliszewski)
Newsgroups: comp.lang.python.announce
Subject: [Python-announce] unittest_expander 0.4.3 released
Date: Mon, 20 Mar 2023 23:14:07 -0000
Lines: 46
Approved: python-announce-list@python.org
Message-ID: <167935404799.11475.10191639310773823849@mail.python.org>
Reply-To: python-list@python.org
Mime-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
X-Trace: news.uni-berlin.de eBqDnSkBALOhXXAVqGphwAstvGl90MxRu04RQFcq/VOg==
Authentication-Results: mail.python.org; dkim=none reason="no signature";
dkim-adsp=none (unprotected policy); dkim-atps=neutral
User-Agent: HyperKitty on https://mail.python.org/
X-MailFrom: zuo@kaliszewski.net
X-Mailman-Rule-Hits: emergency
X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved
Message-ID-Hash: YGOD3UDUE7XNNOPPEOKHMYYHJ5U6S3QT
X-Message-ID-Hash: YGOD3UDUE7XNNOPPEOKHMYYHJ5U6S3QT
X-Mailman-Approved-At: Mon, 20 Mar 2023 20:00:57 -0400
X-Mailman-Version: 3.3.9b1
Precedence: list
List-Id: Announcement-only list for the Python programming language <python-announce-list.python.org>
Archived-At: <https://mail.python.org/archives/list/python-announce-list@python.org/message/YGOD3UDUE7XNNOPPEOKHMYYHJ5U6S3QT/>
List-Archive: <https://mail.python.org/archives/list/python-announce-list@python.org/>
List-Help: <mailto:python-announce-list-request@python.org?subject=help>
List-Owner: <mailto:python-announce-list-owner@python.org>
List-Post: <mailto:python-announce-list@python.org>
List-Subscribe: <mailto:python-announce-list-join@python.org>
List-Unsubscribe: <mailto:python-announce-list-leave@python.org>
 by: Jan Kaliszewski - Mon, 20 Mar 2023 23:14 UTC

I am pleased to announce the release of unittest_expander 0.4.3.

The changelog is available at:
https://unittest-expander.readthedocs.io/en/stable/changes.html

*unittest_expander* is a MIT-licensed Python library that provides
flexible and easy-to-use tools to parameterize your unit tests,
especially those based on `unittest.TestCase`.

The library is compatible with Python 3.11, 3.10, 3.9, 3.8, 3.7, 3.6 and
2.7, and does not depend on any external packages (uses only the Python
standard library).

Simple usage example:

```
import unittest
from unittest_expander import expand, foreach, param

@expand
class TestSomething(unittest.TestCase):
@foreach(
'Foo',
('Foo', 43),
param('Foo', spam=44),
param(foo='Bar', spam=45).label('with bar'),
empty=param(foo='', spam=46),
)
def test_it(self, foo, spam=42, label=None):
assert foo in ('Foo', 'Bar', '')
assert 42 <= spam <= 46
if label == 'with bar':
assert foo == 'Bar' and spam == 45
if label == 'empty':
assert foo == '' and spam == 46
```

This is only a fraction of the possibilities the unittest_expander
library provides.

Homepage: https://github.com/zuo/unittest_expander
PyPI: https://pypi.org/project/unittest-expander/
Documentation: https://unittest-expander.readthedocs.io/en/stable/

Cheers,
Jan Kaliszewski (zuo) <zuo@kaliszewski.net>


devel / comp.lang.python.announce / [Python-announce] unittest_expander 0.4.3 released

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor