Skip to content

Commit ffdce1d

Browse files
committed
Updating to match pep8 as per @jorisvandenbossche
1 parent aa1ada3 commit ffdce1d

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

pandas/io/sas/sasreader.py

+3-2
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,9 @@ def read_sas(filepath_or_buffer, format=None, index=None, encoding=None,
3030
or XportReader
3131
"""
3232
if format is None:
33-
buffer_error_msg = "If this is a buffer object rather\
34-
than a string name, you must specify a format string"
33+
buffer_error_msg = ("If this is a buffer object rather"
34+
"than a string name, you must specify"
35+
" a format string")
3536
if not isinstance(filepath_or_buffer,compat.string_types):
3637
raise TypeError(buffer_error_msg)
3738
try:

pandas/io/tests/sas/test_sas.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
from pandas.compat import StringIO
33
from pandas import read_sas
44

5-
class TestSasBuff(tm.TestCase):
5+
class TestSas(tm.TestCase):
6+
67
def test_sas_buffer_format(self):
78
b = StringIO("")
89
with self.assertRaises(TypeError):

0 commit comments

Comments
 (0)