Commit Graph

158 Commits

Author SHA1 Message Date
Brian E. Granger
4fadfecbb7 Merge pull request #2724 from pberkes/embedded-ipython-v2
In-process kernel support (take 3)
2013-01-16 12:32:21 -08:00
Bradley M. Froehle
3493814467 Skip notebookapp testing if jinja2 is not available. 2012-12-18 13:13:02 -08:00
Thomas Kluyver
e344f37ebd Merge pull request #2301 from takluyver/ast-transfomers
Ast transfomers
2012-11-30 13:51:43 -08:00
Bussonnier Matthias
b1662530a0 Merge pull request #2442 from minrk/signithalt
allow iptest to be interrupted
2012-09-28 01:14:45 -07:00
MinRK
d6db92b7e6 allow iptest to be interrupted
Previously `^C` would register as a regular test failure, and the test suite would continue, in which case halting `iptest` meant hitting `^C` nine times.

This change makes iptest take notice of sigint in a test runner, and aborts the run.
2012-09-27 15:58:00 -07:00
Fernando Perez
630e178616 Ensure that in-process test group doesn't create global IPython singleton.
Since the in-process group makes its own shells, it should avoid
creating the global singleton.
2012-09-27 10:18:14 -05:00
Thomas Kluyver
b6776682dc Fix IPython.utils.warn API so messages are automatically displayed followed by a newline. 2012-08-14 14:15:30 +01:00
MinRK
27abd01589 skip crash tests by default 2012-08-10 22:15:14 -07:00
Brian Granger
421ada2837 Adding exclusion for the azure module in iptest. 2012-08-10 17:43:25 -07:00
Thomas Kluyver
31b326ca02 Exclude slow tests (IPython.parallel by default in iptest 2012-08-02 21:42:48 +01:00
Bradley M. Froehle
35493dabd2 Create a unique & temporary IPYTHONDIR for each testing group. 2012-07-25 18:35:55 -07:00
Bradley M. Froehle
f2b9bc6016 Print warning message if process could not be killed. 2012-07-25 17:43:50 -07:00
Bradley M. Froehle
4bf8f834ca Work around lack of os.kill in win32.
Fixes iptest brokenness caused by #2148.
2012-07-25 15:04:54 -07:00
Bradley M. Froehle
71b4bf797c win32 iptest: Use subprocess.Popen() instead of os.system(). 2012-07-16 17:29:02 -07:00
Matthias BUSSONNIER
011403a14f use print function in module with print >> 2012-07-05 14:32:56 +02:00
Fernando Perez
22071dfede Skip notebook 'static' dir in test suite.
There's nothing there we should be running python tests on, and
occasionally python files may appear there that cause problems to nose
(e.g. mathjax ships a non-py3 valid conf.py that breaks py3 testing).
2012-07-01 13:14:47 -07:00
MinRK
ae177a38cb remove empty IPython.scripts test group 2012-06-30 01:00:56 -07:00
MinRK
722e90d50a only add quotes around xunit-file on Windows 2012-06-28 11:23:13 -07:00
Jörgen Stenarson
9919f31095 2012-06-27 22:04:54 +02:00
Jörgen Stenarson
13b30ed3c4 2012-06-27 22:03:54 +02:00
Jonathan March
3edd709ab6 BUG: test runner fails in Windows if filenames contain spaces. 2012-06-23 19:55:07 -05:00
Fernando Perez
d81197455a Merge pull request #1849 from stefanv/octavemagic
Add %%octave, %octave, %octave_pull and %octave_push magics to facilitate interaction with Octave via oct2py.  This is similar in spirit to the R magic extension.
2012-06-12 23:52:57 -07:00
MinRK
d73b4e428e don't warn in iptest if deathrow/quarantine are missing 2012-06-11 14:21:18 -07:00
MinRK
33b0144b8f skip autoreload tests 2012-06-11 12:37:04 -07:00
MinRK
5b0d89a9ad use glob for bad exclusion warning
rather than explicit check for .py

closes #1896
2012-06-10 18:05:54 -07:00
Stefan van der Walt
c9a0f40dc5 Skip octavemagic tests if oct2py is unavailable. 2012-06-09 20:18:31 -07:00
Fernando Perez
22c5d421fc Merge pull request #1780 from jonathan-taylor/rmagic_extension
Rmagic extension to use R (the statistical package) seamlessly from IPython.

The rmagic extension allows R inline code as well as cell level magics. An example notebook is provided in docs/examples/notebooks/rmagic_extension.ipynb to demonstrate its usage.

Main points:

1) Allows capture of plots to R via inline png plots (like --pylab inline)

2) Allows capture of R's stdout() connection to the notebook

3) Allows simple push/pull for array data to/from R (via rpy2) with copy only on push to R -- this seems necessary.
2012-06-04 16:25:44 -07:00
Fernando Perez
41665e4483 Ensure that no tests are attempted if numpy or rpy2 are not present.
This prevents both importing of the extension itself and running of
the test suite.
2012-05-31 13:25:03 -07:00
Thomas Kluyver
b47a0cfda9 Add assert_in method to nose for Python 2.6 2012-05-31 21:23:29 +01:00
MinRK
45a3230d70 test for exclusions based on ipython_package_dir 2012-05-31 12:17:51 -07:00
MinRK
cd6fd19fd8 remove stale exclusions revealed by warning 2012-05-31 11:57:13 -07:00
MinRK
65ac94d8f4 warn on nonexistent exclusions 2012-05-31 11:56:06 -07:00
MinRK
3ac79da49c add missing cython exclusion in iptest 2012-05-31 10:06:13 -07:00
Fernando Perez
c15e0fa132 Merge pull request #1770 from ellisonbg/cython_magic
Cython related magic functions: offers the new cell magics %%cython_inline, %%cython_pyximport and %%cython to make it very easy to put cython-accelerated code in a cell and have it loaded interactively.
2012-05-30 22:17:34 -07:00
Brian Granger
26e8363d46 More code review changes:
* Added extension to the Sphinx docs.
* Fixed unicode issues.
2012-05-30 22:01:34 -07:00
MinRK
1cd79e1461 test for pygments before running qt tests 2012-05-22 14:38:59 -07:00
MinRK
6419b0b130 include IPython.zmq in iptest groups 2012-04-18 15:32:43 -07:00
MinRK
fe92e50471 remove a few more obsolete twisted notes 2012-04-09 11:01:21 -07:00
Thomas Kluyver
7d849a2f70 Only monkeypatch xunit when the tests are run using it. 2012-02-13 23:17:05 +00:00
Thomas Kluyver
4f947c2877 Make separate function to monkeypatch Xunit. 2012-02-09 20:20:19 +00:00
Thomas Kluyver
5773f8cd1d Monkeypatch Xunit to count known failures as skips, not errors. 2012-02-09 19:52:20 +00:00
Thomas Kluyver
717285060e Use explicit for loop to find section in testing. 2012-01-27 11:16:35 +00:00
Thomas Kluyver
4b51bacbb2 Don't raise errors from coverage post-processing. 2012-01-27 01:16:46 +00:00
Thomas Kluyver
93a8b9d215 Use separate option --with-xml-coverage to ask for coverage xml output. 2012-01-27 01:16:46 +00:00
Thomas Kluyver
24af9ac298 Use standard command for coverage. 2012-01-27 01:16:46 +00:00
Thomas Kluyver
e29d417931 Produce coverage xml reports from subprocess test runners. 2012-01-27 01:16:46 +00:00
Fernando Perez
1d5c57d6c9 Remove debug print statement left over from PR #1316. 2012-01-25 19:43:14 -08:00
Thomas Kluyver
b01e9ea082 Pass subprocess test runners a suitable location for xunit output. 2012-01-24 21:23:58 +00:00
MinRK
88340d682c update iptest exclusions with recent changes 2011-12-12 11:47:51 -08:00
Fernando Perez
983b3a7bc8 Fix inline backend logic and avoid tests if mpl not available. 2011-11-27 00:28:26 -08:00