Commit Graph

8 Commits

Author SHA1 Message Date
Nathan Parsons
705a4d384f error-handling: Add test case and hints (#988)
* Add test case for file closure when an exception doesn't occur.
* Add .meta/hints.md listing the methods for the `FileLike` class.
2017-10-25 18:01:09 +01:00
Corey McCandless
55b13a2d22 error-handling: conform to parameter order convention 2017-10-24 11:56:52 -05:00
Corey McCandless
d01e63ea32 error-handling: replace assertTrue and assertFalse with assertIs 2017-10-24 11:16:47 -05:00
Corey McCandless
24c7f79479 error-handling: further improve context manager implementation 2017-10-23 12:00:06 -05:00
cmccandless
68b8f22c75 error-handling: improve use of context manager 2017-10-21 11:08:01 -05:00
Corey McCandless
2c9575a745 error-handling: fixes for flake8 compliance 2017-10-13 11:34:30 -05:00
Corey McCandless
2a75c7949d write example solution 2017-10-13 11:31:52 -05:00
Corey McCandless
e8e0ae1968 error-handling: write test cases 2017-10-13 11:25:47 -05:00