Example #1
0
def test_usgs_quakes():
    """
    Check that the dataset loads without errors.
    """
    with pytest.warns(expected_warning=FutureWarning) as record:
        data = load_usgs_quakes()
        assert len(record) == 1
    assert data.shape == (1197, 22)
Example #2
0
def test_usgs_quakes():
    "Check that the dataset loads without errors"
    data = load_usgs_quakes()
    assert data.shape == (1197, 22)