Skip to content

Commit 00105ee

Browse files
committed
Added to whatsnew
1 parent abae456 commit 00105ee

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

doc/source/whatsnew/v0.20.0.txt

+3
Original file line numberDiff line numberDiff line change
@@ -84,3 +84,6 @@ Performance Improvements
8484
Bug Fixes
8585
~~~~~~~~~
8686

87+
- Fix bugs (:issue:`14734`, :issue:`13654`) in ``pd.read_sas`` and
88+
``pandas.io.sas.sas7bdat.SAS7BDATReader`` that caused problems when
89+
reading a SAS file incrementally.

pandas/io/tests/sas/test_sas7bdat.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ def test_from_iterator(self):
6666
tm.assert_frame_equal(df, df0.iloc[2:5, :])
6767

6868
def test_iterator_loop(self):
69+
# github #13654
6970
for j in 0, 1:
7071
for k in self.test_ix[j]:
7172
for chunksize in 3, 5, 10, 11:
@@ -78,7 +79,7 @@ def test_iterator_loop(self):
7879
y = 0
7980
for x in rdr:
8081
y += x.shape[0]
81-
assert(y == rdr.row_count)
82+
self.assertTrue(y == rdr.row_count)
8283

8384
def test_iterator_read_too_much(self):
8485
# github #14734

0 commit comments

Comments
 (0)