Commit Graph

23 Commits

Author SHA1 Message Date
Jeong YunWon
dc8057a1c2 Refactor snippets/testutil 2019-09-17 17:37:24 +09:00
Windel Bouwman
2ca6e5d399 Implement execution of finally block. Fixes #1306. 2019-08-27 21:16:59 +02:00
Windel Bouwman
19112cef49 Require at least finally or except on a try statement. 2019-08-19 09:00:08 +02:00
Windel Bouwman
3ed71308bf Repair try-except-else syntax. Fixes #1300. 2019-08-19 08:37:07 +02:00
Christian Clauss
b174453677 Travis CI: Lint Python code with flake8
These tests focus on Python syntax errors and undefined names.
2019-07-23 12:36:22 +02:00
Aviv Palivoda
86cbc2e66d Fix exception stack 2019-07-09 17:48:27 +03:00
Aviv Palivoda
d803acfdc5 Add yield in except test 2019-05-04 12:32:40 +03:00
Aviv Palivoda
5270da3934 Add ExceptHandler block 2019-05-04 12:32:40 +03:00
Aviv Palivoda
b72fc3bc9d Add test for #867 2019-04-28 19:20:16 +03:00
Aviv Palivoda
f1551af0f5 Add tests - not working 2019-04-28 18:52:52 +03:00
Aviv Palivoda
4068a36ce8 Use assertRaises 2019-04-14 20:38:34 +03:00
Aviv Palivoda
b6ce407391 Remove else and finally from in_exc_handler 2019-04-14 19:06:21 +03:00
Aviv Palivoda
188758929d Add more tests to exception context 2019-04-14 18:54:43 +03:00
Aviv Palivoda
3ec9b01928 Add exception __context__ 2019-04-14 18:54:43 +03:00
Aviv Palivoda
2c2925a684 Support reraise 2019-04-14 18:54:43 +03:00
Aviv Palivoda
20e0cc8bd7 Use assertRaises 2019-04-12 23:06:53 +03:00
Aviv Palivoda
6c4b092641 Support exception __cause__ 2019-04-12 10:50:45 +03:00
Adrian Wielgosik
1519426cb4 Support raising exceptions without call 2019-02-28 22:06:14 +01:00
Windel Bouwman
a0edc4203f Check that raise command raises exception type 2018-08-26 00:30:01 +02:00
Windel Bouwman
882606ba1a Move exceptions to own struct 2018-08-25 10:11:21 +02:00
Windel Bouwman
f76472c00b Add some base exceptions 2018-08-24 23:36:26 +02:00
Windel Bouwman
d4e735783e Some formatting 2018-08-23 23:11:57 +02:00
Windel Bouwman
04b786f0f3 Add try except to compiler 2018-08-22 21:42:18 +02:00