Files
python-case/case-1.5.3.tar.gz
Dirk Mueller c46c53a3c3 Accepting request 479979 from home:tbechtold:branches:devel:languages:python
- update to 1.5.3:
  - ``patch.multiple`` now works.
  - Using setup/teardown instead of setup_method/teardown_method was a bad idea.
  - 1.5.0 had a left over print statement 😊
  - Pytest: When decorating classes using the ``skip.*`` and ``mock.*``
    decorators, these now augment ``cls.setup``/``cls.teardown`` instead of
    ``cls.setup_method``/``cls.teardown_method``.
  - Pytest: Adds ``patching.object``.
  - Adds new helper: ``case.pytest.fixture_with_options``.
  - All case decorators now works with py.test classes.
  - Py.test: Adds new `stdouts` fixture that patches :data:`sys.stdout`,
    and :data:`sys.stderr`.
  - Py.test: The `patching` fixture can now mock modules.
  - Case is now a py.test plug-in and provides a `patching` fixture
    as a shortcut to `monkeypatch` setting the value to a mock.
  - Case decorators now supports py.test.
  - Patcher created by create_patcher now accepts *args.
  - ``mock.reload_modules``: Fixed compatibility with Python 3.
  - ``mock.reload_modules`` now re-imports the module and
    calls ``reload()`` on it.
  - Adds ``mock.mute`` decorator to suppress stdout with no return value.
  - Adds ``Mock.on_nth_call_do_raise(excA, excB, n)``.
- Fix license
- Convert to singlespec approach

OBS-URL: https://build.opensuse.org/request/show/479979
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-case?expand=0&rev=2
2017-03-16 12:42:12 +00:00

4 lines
130 BLFS
Plaintext

version https://git-lfs.github.com/spec/v1
oid sha256:48432b01d91913451c3512c5b90e31b0f348f1074b166a3431085eb70d784fb1
size 58469