Commit Graph

20 Commits

Author SHA1 Message Date
ocavue
7b41752775 Add unittest patch (#77) 2019-09-28 17:41:45 +02:00
Delgan
04f7e97206
Add support for chained exceptions (#63) 2019-01-08 22:09:32 +01:00
Delgan
3c5870cf0d Add tests for IndentationError and SyntaxError 2017-10-19 12:01:29 +02:00
Delgan
f926bcccc2 Add automatic hook based on an environment variable 2017-10-19 12:01:29 +02:00
Delgan
9bd28c8b79 Add tests to check correctly truncated values 2017-09-10 22:27:51 +02:00
cold
cd378ffe7d Fix Non-ASCII exceptions UnicodeDecodeError (#33)
* Fix Non-ASCII exceptions UnicodeDecodeError

Fix some code includes Non-ASCII characters will cause `UnicodeDecodeError`

* Add test encoding & regenerate test data
2017-04-24 15:48:26 -07:00
Josh Junon
9a53e5ffa8 add isatty(2) check back in to color support detection 2017-03-28 14:16:31 -07:00
Josh Junon
c104693af9 updated test output for logging hooks 2017-03-28 14:13:27 -07:00
Josh Junon
f6f74b8ea7 add logger patching (closes #21) 2017-03-28 14:12:14 -07:00
Josh
096e70d921 Add Travis testing (#20)
* add .travis

* don't add TERM as test case (duh)

* update tests (TERM -> xterm)

* remove support for 2.6

* don't test on 3.3 (has weird ANSI bug)

* add travis badge
2017-03-24 01:56:12 -07:00
Josh Junon
0d600e9c88 pull out interactive raw test (for now) 2017-03-24 01:30:02 -07:00
Josh Junon
f548b84f21 add special case to remove runcode() calls 2017-03-24 01:18:39 -07:00
Josh Junon
db4dc3f378 update tests 2017-03-24 00:47:01 -07:00
Josh Junon
64f01e0d65 update test output for -c fixes 2017-03-24 00:37:58 -07:00
Josh Junon
0d28697d31 add test case for strange -c configurations 2017-03-24 00:32:32 -07:00
Josh Junon
aa2cf4eca7 update test output 2017-03-23 23:58:27 -07:00
Josh Junon
525012db05 add comment to test_string 2017-03-23 23:46:57 -07:00
Josh Junon
46363e1061 read command line from system if using -c 2017-03-23 23:31:11 -07:00
Josh Junon
be3b5b38f4 default to 'python' when not running test suite 2017-03-23 22:20:46 -07:00
Josh Junon
8e1040c20a add more sophisticated tests 2017-03-23 22:10:14 -07:00