buuuut, note that which catching the base Exception class, we clean up.


On Thu, Feb 20, 2014 at 10:33 AM, Matthew Gidden <gidden@wisc.edu> wrote:

> sigh. ok. =)
>
>
> On Thu, Feb 20, 2014 at 10:27 AM, Anthony Scopatz <
> notifications@github.com> wrote:
>
>> In tests/test_regression.py:
>>
>> > @@ -59,7 +59,7 @@ def test_regression(check_deterministic=False):
>> >              if os.path.isfile(tmp_file):
>> >                  try:
>> >                      nondeterm = compare_nondeterm(sim_files[f], tmp_file)
>> > -                except KeyError:
>> > +                except Exception:
>>
>> Not necessarily, there are all sorts of awesome things they could be
>> doing since this is Python. They could manipulate the AST at runtime, they
>> could insert yield statement after every line in the function body, they
>> could completely swap out the local namespace of variables with proxy
>> objects that signal when something has gone wrong.
>>
>> --
>> Reply to this email directly or view it on GitHub<https://github.com/cyclus/cycamore/pull/193/files#r9912364>
>> .
>>
>
>
>
> --
> Matthew Gidden
> Ph.D. Candidate, Nuclear Engineering
> The University of Wisconsin -- Madison
> Ph. 225.892.3192
>



-- 
Matthew Gidden
Ph.D. Candidate, Nuclear Engineering
The University of Wisconsin -- Madison
Ph. 225.892.3192