test__iotools

Module Contents

class TestLineSplitter

Bases:numpy.testing.TestCase

Tests the LineSplitter class.

test_no_delimiter(self)

Test LineSplitter w/o delimiter

test_space_delimiter(self)

Test space delimiter

test_tab_delimiter(self)

Test tab delimiter

test_other_delimiter(self)

Test LineSplitter on delimiter

test_constant_fixed_width(self)

Test LineSplitter w/ fixed-width fields

test_variable_fixed_width(self)
class TestNameValidator

Bases:numpy.testing.TestCase

test_case_sensitivity(self)

Test case sensitivity

test_excludelist(self)

Test excludelist

test_missing_names(self)

Test validate missing names

test_validate_nb_names(self)

Test validate nb names

test_validate_wo_names(self)

Test validate no names

_bytes_to_date(s)
class TestStringConverter

Bases:numpy.testing.TestCase

Test StringConverter

test_creation(self)

Test creation of a StringConverter

test_upgrade(self)

Tests the upgrade method.

test_missing(self)

Tests the use of missing values.

test_upgrademapper(self)

Tests updatemapper

test_string_to_object(self)

Make sure that string-to-object functions are properly recognized

test_keep_default(self)

Make sure we don’t lose an explicit default

test_keep_default_zero(self)

Check that we don’t lose a default of 0

test_keep_missing_values(self)

Check that we’re not losing missing values

test_int64_dtype(self)

Check that int64 integer types can be specified

test_uint64_dtype(self)

Check that uint64 integer types can be specified

class TestMiscFunctions

Bases:numpy.testing.TestCase

test_has_nested_dtype(self)

Test has_nested_dtype

test_easy_dtype(self)

Test ndtype on dtypes

test_flatten_dtype(self)

Testing flatten_dtype