Skip to content

Commit d19fb07

Browse files
committed
added patch changeset_1309346c08945cd4764a549ec63cf51089634a45.diff to "cherry-pick" 1309346 (BF: (re)raise the exception always unless returning)
1 parent 0448f70 commit d19fb07

File tree

2 files changed

+22
-0
lines changed

2 files changed

+22
-0
lines changed
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
From: Yaroslav Halchenko <[email protected]>
2+
Subject: BF: (re)raise the exception always unless returning
3+
otherwise leads atm to masking of this error while testing on i386 and then
4+
failling since
5+
6+
UnboundLocalError: local variable unser referenced before assignment
7+
8+
More detail:
9+
https://buildd.debian.org/status/fetch.php?pkg=pandas&arch=i386&ver=0.19.1-1&stamp=1479504883
10+
11+
--- a/pandas/io/tests/json/test_pandas.py
12+
+++ b/pandas/io/tests/json/test_pandas.py
13+
@@ -167,7 +167,7 @@ class TestPandasContainer(tm.TestCase):
14+
if raise_ok is not None:
15+
if isinstance(detail, raise_ok):
16+
return
17+
- raise
18+
+ raise
19+
20+
if sort is not None and sort in unser.columns:
21+
unser = unser.sort_values(sort)

debian/patches/series

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
changeset_1309346c08945cd4764a549ec63cf51089634a45.diff
12
deb_nonversioneer_version
23
deb_doc_donotoverride_PYTHONPATH
34
deb_skip_stata_on_bigendians

0 commit comments

Comments
 (0)