summaryrefslogtreecommitdiff
path: root/python/subunit/__init__.py
Commit message (Collapse)AuthorAgeFilesLines
* Fixup NEWS and versions for recent workRobert Collins2018-01-251-1/+1
|
* Check for ValueError in write only check in _unwrap_text()Matthew Treinish2017-09-251-1/+3
| | | | | | | | | | | | | | | | In the _unwrap_text() function it checks by trying to read or write to the stream to see if it's wrapped or not and return the buffer. The check there first tries to read and if an exception of the proper type is raised it will assume it was opened in write mode and proceed to check for a buffer by writing to the stram. However this check is missing an exception to check for. If a FileIO object is passed in on Python 2.7 (which can be the case sometimes for sys.stdout, although I haven't figured out under which circumstances) then a ValueError will be raised. [1] To enable using _unwrap_text() when a FileIO object is used this commit adds a ValueError to the list of exception types to handle this case. [1] https://github.com/python/cpython/blob/2.7/Modules/_io/fileio.c#L431
* Release 1.2.1.2.0Robert Collins2015-10-231-1/+1
|
* Support --locals in tracebacks and release 1.1.01.1.0Robert Collins2015-03-101-1/+1
|
* Remove support for SUBUNIT_FORMATTER, which has been broken for a long time.Jelmer Vernooij2014-12-111-16/+0
|
* Release 1.0.0.1.0.0Robert Collins2014-11-191-1/+1
|
* 0.0.210.0.21Robert Collins2014-08-271-1/+1
| | | | | | | | | | ------ BUGFIXES ~~~~~~~~ * Brown bag bugfix - 0.0.20's setup.py referenced cvs not csv. (Robert Collins, #1361924)
* Release 0.0.200.0.20Robert Collins2014-08-271-1/+1
| | | | | | | Also * The python-subunit tarball can now have setup run from the current directory. (Robert Collins, #1361857)
* 0.0.19Robert Collins2014-08-241-1/+1
| | | | | | | | | | | | ------ IMPROVEMENTS ~~~~~~~~~~~~ * ``subunit.run`` in Python will now exit 0 as long as the test stream has been generated correctly - this has always been the intent but API friction with testtools had prevented it working. (Robert Collins)
* Release 0.0.18.0.0.18Robert Collins2014-01-301-1/+1
|
* Release 0.0.17Robert Collins2014-01-291-1/+1
|
* Release 0.0.16.0.0.16Robert Collins2013-11-301-1/+1
|
* The test suite was failing 6 tests due to testtools changing it's outputRobert Collins2013-11-241-7/+0
| | | | formatting of exceptions. (Robert Collins)
* Release 0.0.150.0.15Robert Collins2013-08-251-1/+1
|
* Release 0.0.140.0.14Robert Collins2013-08-241-1/+1
|
* Release 0.0.13.0.0.13Robert Collins2013-06-171-1/+1
|
* Release 0.120.0.12Robert Collins2013-05-251-1/+1
|
* Release 0.0.11, depending on the new testtools StreamResult API.0.0.11Robert Collins2013-04-081-1/+1
|
* Fixes from getting testrepository running with v2.Robert Collins2013-03-061-2/+3
|
* Port existing filters to v2.Robert Collins2013-03-031-45/+53
|
* Add an implementation of parser and generator for v2 streams.Robert Collins2013-02-251-1/+1
|
* Start on an encoder.Robert Collins2013-02-221-0/+1
|
* Release 0.0.10.0.0.10Robert Collins2013-02-081-10/+13
|
* * make_stream_binary is now public for reuse. (Robert Collins)Robert Collins2013-02-071-5/+5
| | | | * NAME was not defined in the protocol BNF. (Robert Collins)
* Tweak Python3 support to help testrepository get 3-ready.Robert Collins2013-01-271-3/+3
|
* Release 0.0.9.0.0.9Robert Collins2012-12-171-0/+13
|
* * Test ids which include non-ascii unicode characters are now supported.Robert Collins2012-12-171-2/+8
| | | | (Robert Collins, #1029866)
* * The ``failfast`` option to ``subunit.run`` will now work. The dependency onRobert Collins2012-12-171-0/+6
| | | | | testtools has been raised to 0.9.23 to permit this. (Robert Collins, #1090582)
* Python3.1 support from Arfrever Frehtes Taifersar Arahesis.Robert Collins2012-05-081-1/+1
|
* Handle text stdin and stdout streams.Robert Collins2012-05-081-12/+40
|
* Clean up a flakeJonathan Lange2012-02-161-2/+2
|
* Merge trunkJonathan Lange2012-02-161-1/+12
|\
| * et binary mode on the stream for forwarding subunit output (mgz)Jonathan Lange2012-02-101-1/+3
| |\
| | * Set binary mode on the forwarded stream in ProtocolTestCase as used by filtersMartin Packman2012-01-041-1/+3
| | |
| * | Tag support has been implemented for TestProtocolClient.Robert Collins2012-01-111-0/+9
| |/ | | | | | | (Robert Collins, #518016)
* | Fix to call the public API in testtools.Jonathan Lange2012-02-091-4/+4
|/
* Couple of spelling corrections to python subunit module docstringMartin2011-08-071-2/+2
|
* Fix thinko in addSuccess refactoring.Robert Collins2011-05-021-1/+1
|
* Support unexpected success outcomes.Robert Collins2011-05-021-13/+54
|\
| * Additionally the protocol now has a keyword uxsuccess for Unexpected SuccessRobert Collins2011-05-021-13/+54
| | | | | | | | | | | | | | | | reporting. Older parsers will report tests with this status code as 'lost connection'. * The Python2.7 / testtools addUnexpectedSuccess API is now supported. This required adding a new status code to the protocol. (Robert Collins, #654474)
* | Martins fix for failures on windows.Robert Collins2011-05-021-2/+4
|\ \ | |/ |/|
| * Hack ExecTestCase and its tests to sort-of be portable fixing the remaing spewMartin2011-04-271-2/+6
| |
* | Merge python 3K changes.Robert Collins2011-04-271-71/+121
|\ \ | |/
| * Test suite passing on 3.1.Robert Collins2011-04-251-8/+11
| |
| * Nearly done.Robert Collins2011-04-251-29/+43
| |
| * Tags in the API are strings. And python3 exception names.Robert Collins2011-04-251-2/+6
| |
| * Merge Martin[gz]'s fix for make_stream_binary.Robert Collins2011-04-251-4/+10
| |\
| | * Remove presumably erroneous _make_stream_binary callMartin2011-04-251-1/+0
| | |
| | * Vary fileno attempt exception type to support Python 3Martin2011-04-251-1/+6
| | |
| | * Use try/except rather than getattr to test for fileno _make_stream_binaryMartin2011-04-251-3/+5
| | |