Commit Graph

13 Commits

Author SHA1 Message Date
Delgan
f7f1476e57
Use stream encoding instead of locale preferred encoding (#88)
* Use stream encoding instead of locale preferred encoding

* Use 'utf-8' by default for stream with unknown encoding
2023-01-05 01:12:47 +01:00
Josh Junon
194d95a5f0 remove python2 support from tests 2020-12-23 02:20:19 +01:00
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
4d6a9daf6a
Fix unit tests failing on Python 3.7 (#62) 2019-01-07 20:59:59 +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
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
8e1040c20a add more sophisticated tests 2017-03-23 22:10:14 -07:00