Commit Graph

8 Commits

Author SHA1 Message Date
Corey McCandless
cb8a7a7619 Normalize test case names (#1403) 2018-06-13 09:12:09 -04:00
Corey McCandless
efa763641e fix deprecation warnings (#1161)
* fix deprecation warnings
* use simpler test for assertRaisesRegex existence
2018-01-18 16:47:11 +00:00
Nathan Parsons
f53e2ef08b Implement checks for raising messages with exceptions (#1113)
* Implement checks for messages being raised with exceptions
(Fixes #1080)

* Add self.assertRaisesWithMessage method to relevant exercise tests
    - Uses self.assertRaisesRegex
    - Checks only for the presence of a message, not content
* Add meaningful messages to failing examples
* octal: Switch to using a context manager for exception tests

* Add note regarding error messages to the insert

* simple-linked-list: Move hints.md to correct location

* simple-cipher: Remove extra whitespace from lines

* collatz-conjecture: Update hints.md

* Regenerate README to include exceptions section
2017-12-12 12:11:43 -06:00
cmccandless
f8f495ca4a Improve exception tests by making use of Context Managers to resolve #477 2017-10-21 11:17:15 +03:00
Tammo Behrends
bbd3c623b8 Refactor assertEqual(actual,expected) param order
closes #440
2017-03-23 13:37:20 +01:00
Tammo Behrends
d640812e10 Adapt pycodestyle E305 and E741 2016-11-29 09:46:05 +01:00
Tammo Behrends
0bd10c570e binary: Expand invalid input tests 2016-02-01 16:40:14 +01:00
Alberto
b9dfe29184 Moved the exercises to the folder exercises/. 2016-01-26 17:24:22 +01:00