@@ -11811,7 +11811,7 @@ <h1 id="Testing-with-pytest---part-2">Testing with <a href="https://docs.pytest.
1181111811< div class =" highlight hl-ipython3 "> < pre > < span > </ span > < span class ="c1 "> # Let's make sure pytest and ipython_pytest plugin are installed</ span >
1181211812< span class ="kn "> import</ span > < span class ="nn "> sys</ span >
1181311813< span class ="o "> !{</ span > sys.executable< span class ="o "> }</ span > -m pip install pytest
11814- < span class ="o "> !{</ span > sys.executable< span class ="o "> }</ span > -m pip install ../../utils/ ipython_pytest/
11814+ < span class ="o "> !{</ span > sys.executable< span class ="o "> }</ span > -m pip install ipython_pytest
1181511815</ pre > </ div >
1181611816
1181711817</ div >
@@ -11829,26 +11829,13 @@ <h1 id="Testing-with-pytest---part-2">Testing with <a href="https://docs.pytest.
1182911829
1183011830< div class ="output_subarea output_stream output_stdout output_text ">
1183111831< pre > Requirement already satisfied: pytest in /Users/jerry/.virtualenvs/learn-python3/lib/python3.5/site-packages (3.5.0)
11832- Requirement already satisfied: more-itertools>=4.0.0 in /Users/jerry/.virtualenvs/learn-python3/lib/python3.5/site-packages (from pytest) (4.1.0)
1183311832Requirement already satisfied: py>=1.5.0 in /Users/jerry/.virtualenvs/learn-python3/lib/python3.5/site-packages (from pytest) (1.5.3)
11834- Requirement already satisfied: six>=1.10.0 in /Users/jerry/.virtualenvs/learn-python3/lib/python3.5/site-packages (from pytest) (1.11.0)
11835- Requirement already satisfied: attrs>=17.4.0 in /Users/jerry/.virtualenvs/learn-python3/lib/python3.5/site-packages (from pytest) (17.4.0)
1183611833Requirement already satisfied: pluggy<0.7,>=0.5 in /Users/jerry/.virtualenvs/learn-python3/lib/python3.5/site-packages (from pytest) (0.6.0)
11834+ Requirement already satisfied: more-itertools>=4.0.0 in /Users/jerry/.virtualenvs/learn-python3/lib/python3.5/site-packages (from pytest) (4.1.0)
1183711835Requirement already satisfied: setuptools in /Users/jerry/.virtualenvs/learn-python3/lib/python3.5/site-packages (from pytest) (39.0.1)
11838- < span class ="ansi-yellow-fg "> You are using pip version 10.0.0, however version 10.0.1 is available.
11839- You should consider upgrading via the 'pip install --upgrade pip' command.</ span >
11840- Processing /Users/jerry/github/jerry-git/learn-python3/utils/ipython_pytest
11841- Building wheels for collected packages: ipython-pytest
11842- Running setup.py bdist_wheel for ipython-pytest ... - done
11843- Stored in directory: /private/var/folders/nk/wgt71p5s1_d1wssm881h7ykc0000gn/T/pip-ephem-wheel-cache-ksypg6cf/wheels/cd/57/26/ee80676d18b225631db5c78e9ddda568e7d2abf6f03c97047a
11844- Successfully built ipython-pytest
11845- Installing collected packages: ipython-pytest
11846- Found existing installation: ipython-pytest 0.0.1.dev0
11847- Uninstalling ipython-pytest-0.0.1.dev0:
11848- Successfully uninstalled ipython-pytest-0.0.1.dev0
11849- Successfully installed ipython-pytest-0.0.1.dev0
11850- < span class ="ansi-yellow-fg "> You are using pip version 10.0.0, however version 10.0.1 is available.
11851- You should consider upgrading via the 'pip install --upgrade pip' command.</ span >
11836+ Requirement already satisfied: six>=1.10.0 in /Users/jerry/.virtualenvs/learn-python3/lib/python3.5/site-packages (from pytest) (1.11.0)
11837+ Requirement already satisfied: attrs>=17.4.0 in /Users/jerry/.virtualenvs/learn-python3/lib/python3.5/site-packages (from pytest) (17.4.0)
11838+ Requirement already satisfied: ipython_pytest in /Users/jerry/.virtualenvs/learn-python3/lib/python3.5/site-packages (0.0.1)
1185211839</ pre >
1185311840</ div >
1185411841</ div >
@@ -11959,15 +11946,15 @@ <h2 id="@pytest.fixture"><a href="https://docs.pytest.org/en/latest/fixture.html
1195911946
1196011947
1196111948< div class ="output_subarea output_stream output_stdout output_text ">
11962- < pre > =========================================================== test session starts ===========================================================
11949+ < pre > ============================================================ test session starts = ===========================================================
1196311950platform darwin -- Python 3.5.4, pytest-3.5.0, py-1.5.3, pluggy-0.6.0
11964- rootdir: /private/var/folders/nk/wgt71p5s1_d1wssm881h7ykc0000gn/T/tmpi20fl62u , inifile:
11951+ rootdir: /private/var/folders/nk/wgt71p5s1_d1wssm881h7ykc0000gn/T/tmpj71o38he , inifile:
1196511952plugins: nbval-0.9.0
1196611953collected 4 items
1196711954
11968- _ipytesttmp.py .... [100%]
11955+ _ipytesttmp.py .... [100%]
1196911956
11970- ======================================================== 4 passed in 0.03 seconds =========================================================
11957+ ========================================================= 4 passed in 0.03 seconds = =========================================================
1197111958</ pre >
1197211959</ div >
1197311960</ div >
@@ -12038,20 +12025,20 @@ <h2 id="@pytest.mark.parametrize"><a href="https://docs.pytest.org/en/latest/par
1203812025
1203912026
1204012027< div class ="output_subarea output_stream output_stdout output_text ">
12041- < pre > =========================================================== test session starts ===========================================================
12028+ < pre > ============================================================ test session starts = ===========================================================
1204212029platform darwin -- Python 3.5.4, pytest-3.5.0, py-1.5.3, pluggy-0.6.0
12043- rootdir: /private/var/folders/nk/wgt71p5s1_d1wssm881h7ykc0000gn/T/tmpevgtpxwb , inifile:
12030+ rootdir: /private/var/folders/nk/wgt71p5s1_d1wssm881h7ykc0000gn/T/tmp3bo6s4_6 , inifile:
1204412031plugins: nbval-0.9.0
1204512032collected 3 items
1204612033
12047- _ipytesttmp.py ... [100%]
12034+ _ipytesttmp.py ... [100%]
1204812035
12049- ============================================================ warnings summary =============================================================
12036+ ============================================================= warnings summary = =============================================================
1205012037None
1205112038 Module already imported so cannot be rewritten: nbval
1205212039
1205312040-- Docs: http://doc.pytest.org/en/latest/warnings.html
12054- ================================================== 3 passed, 1 warnings in 0.03 seconds ===================================================
12041+ =================================================== 3 passed, 1 warnings in 0.03 seconds = ===================================================
1205512042</ pre >
1205612043</ div >
1205712044</ div >
0 commit comments