merging with default

--HG--
branch : cx_freeze-support
This commit is contained in:
Bruno Oliveira 2014-08-23 10:05:40 -03:00
commit 03b694a1d0
3 changed files with 7 additions and 4 deletions

View File

@ -3,6 +3,12 @@ NEXT
- fixed issue561: adapt autouse fixture example for python3.
- Fix example in monkeypatch documentation, thanks t-8ch.
- Do not mark as universal wheel because Python 2.6 is different from
other builds due to the extra argparse dependency. Fixes issue566.
Thanks sontek.
2.6.1
-----------------------------------

View File

@ -48,7 +48,7 @@ requests in all your tests, you can do::
import pytest
@pytest.fixture(autouse=True)
def no_requests(monkeypatch):
monkeypatch.delattr("requests.session.Session.request")
monkeypatch.delattr("requests.sessions.Session.request")
This autouse fixture will be executed for each test function and it
will delete the method ``request.session.Session.request``

View File

@ -5,6 +5,3 @@ all_files = 1
[upload_sphinx]
upload-dir = doc/en/build/html
[wheel]
universal = 1