Unittest2pytest

Latest version: v0.4

Safety actively analyzes 621498 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

0.5

----------------

- Nothing changed yet.

0.4

----------------

* Add support for ``assertDictContainsSubset``.

* Put parenthesis around expressions if required.

* Fixed assertRaisesRegex, assertRaisesRegexp and assertWarnsRegex.
The regex was getting replaced with an undefined variable `pattern`.

* Fix assertRaisesRegex and assertRaisesRegexp with `**kwargs` and
`atom` parameters.

* Made assertRaisesRegex, assertRaisesRegexp and assertWarnsRegex use
the `match` kwarg in `pytest.raises` instead of creating a variable
with the context manager and doing an assert on `re.search`.


* Add a short developer guide.

* Remove testing on Python 3.0, 3.1, 3.2, add 3.6 and 3.7.

* Distribute package as a universal wheel.

0.3

------------------

* Add support for assertRaises / assertWarns context managers.

* Add support for converting lambda arguments in assertRaises into
context managers.

* Fix some incorrect transformations.

* Internal cleanup and fixes.

0.2

---------------------

* Add support for assertRegex/assertRegexpMatches, assertNotRegex,
assertRaisesRegex/assertRaisesRegexp, assertWarnsRegex.

* `unittest2pytest` is now a `pytest` subproject.

* Minor fixes.

0.1

---------------------

* Initial release

..
Local Variables:
mode: rst
ispell-local-dictionary: "american"
coding: utf-8
End:

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.