Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
pandas / tests / io / sas / test_sas.py
Size: Mime:
from pandas.compat import StringIO
from pandas import read_sas

import pandas.util.testing as tm


class TestSas(object):

    def test_sas_buffer_format(self):
        # see gh-14947
        b = StringIO("")

        msg = ("If this is a buffer object rather than a string "
               "name, you must specify a format string")
        with tm.assert_raises_regex(ValueError, msg):
            read_sas(b)