BF: (re)raise the exception always unless returning (#14756)

otherwise leads atm to masking of this error while testing on i386
and then failling since

UnboundLocalError: local variable unser referenced before assignment

More detail: https://buildd.debian.org/status/fetch.php?pkg=pandas&arch=i386&ver=0.19.1-1&stamp=1479504883
This commit is contained in:
Yaroslav Halchenko 2016-11-28 12:30:16 -05:00 committed by Jeff Reback
parent 06f26b51e9
commit 2f43ac4c4c
1 changed files with 1 additions and 1 deletions

View File

@ -167,7 +167,7 @@ class TestPandasContainer(tm.TestCase):
if raise_ok is not None:
if isinstance(detail, raise_ok):
return
raise
raise
if sort is not None and sort in unser.columns:
unser = unser.sort_values(sort)