Skip to content

TST/CLN: Warnings from pytest 3.1+ #16481

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
TomAugspurger opened this issue May 24, 2017 · 2 comments
Closed

TST/CLN: Warnings from pytest 3.1+ #16481

TomAugspurger opened this issue May 24, 2017 · 2 comments
Labels
CI Continuous Integration good first issue Testing pandas testing functions or related to the test suite
Milestone

Comments

@TomAugspurger
Copy link
Contributor

TomAugspurger commented May 24, 2017

New versions of pytest print a useful summary of warnings that aren't caught during the test run.
Here's a log from a couple days ago


=============================== warnings summary ===============================
pandas/tests/test_downstream.py::test_dask
  /Users/taugspurger/Envs/pandas-dev/lib/python3.6/site-packages/dask/dataframe/__init__.py:3: DeprecationWarning: pandas.util.decorators is deprecated and will be removed in a future version, import from pandas.util
    from .core import (DataFrame, Series, Index, _Frame, map_partitions,

pandas/tests/test_downstream.py::test_xarray
  /Users/taugspurger/Envs/pandas-dev/lib/python3.6/site-packages/xarray/core/formatting.py:16: FutureWarning: The pandas.tslib module is deprecated and will be removed in a future version.
    from pandas.tslib import OutOfBoundsDatetime

pandas/tests/test_downstream.py::test_statsmodels
  /Users/taugspurger/Envs/pandas-dev/lib/python3.6/importlib/_bootstrap.py:205: ImportWarning: can't resolve package from __spec__ or __package__, falling back on __name__ and __path__
    return f(*args, **kwds)
  /Users/taugspurger/Envs/pandas-dev/lib/python3.6/site-packages/statsmodels/statsmodels/compat/pandas.py:62: FutureWarning: The pandas.core.datetools module is deprecated and will be removed in a future version. Please use the pandas.tseries module instead.
    from pandas.core import datetools
  /Users/taugspurger/Envs/pandas-dev/lib/python3.6/site-packages/patsy/util.py:652: DeprecationWarning: pandas.core.common.is_categorical_dtype is deprecated. import from the public API: pandas.api.types.is_categorical_dtype instead
    return safe_is_pandas_categorical_dtype(data.dtype)

pandas/tests/test_downstream.py::test_scikit_learn
  /Users/taugspurger/Envs/pandas-dev/lib/python3.6/importlib/_bootstrap.py:205: ImportWarning: can't resolve package from __spec__ or __package__, falling back on __name__ and __path__
    return f(*args, **kwds)
  /Users/taugspurger/Envs/pandas-dev/lib/python3.6/importlib/_bootstrap.py:205: ImportWarning: can't resolve package from __spec__ or __package__, falling back on __name__ and __path__
    return f(*args, **kwds)

pandas/tests/test_downstream.py::test_seaborn
  /Users/taugspurger/Envs/pandas-dev/lib/python3.6/importlib/_bootstrap.py:205: ImportWarning: can't resolve package from __spec__ or __package__, falling back on __name__ and __path__
    return f(*args, **kwds)
  /Users/taugspurger/Envs/pandas-dev/lib/python3.6/site-packages/ipywidgets/widgets/widget_link.py:19: DeprecationWarning: Traits should be given as instances, not types (for example, `Int()`, not `Int`) Passing types is deprecated in traitlets 4.1.
    super(WidgetTraitTuple, self).__init__(Instance(Widget), Unicode, **kwargs)
  /Users/taugspurger/Envs/pandas-dev/lib/python3.6/site-packages/seaborn/seaborn/categorical.py:342: DeprecationWarning: pandas.core.common.is_categorical_dtype is deprecated. import from the public API: pandas.api.types.is_categorical_dtype instead
    elif is_categorical(y):

pandas/tests/test_downstream.py::test_pandas_datareader
  /Users/taugspurger/Envs/pandas-dev/lib/python3.6/site-packages/pandas_datareader/data.py:36: ResourceWarning: unclosed <socket.socket fd=17, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=6, laddr=('192.168.7.36', 50017), raddr=('216.58.216.100', 80)>
    return GoogleDailyReader(*args, **kwargs).read()

pandas/tests/test_downstream.py::test_geopandas
  /Users/taugspurger/Envs/pandas-dev/lib/python3.6/importlib/_bootstrap.py:205: ImportWarning: can't resolve package from __spec__ or __package__, falling back on __name__ and __path__
    return f(*args, **kwds)
  /Users/taugspurger/Envs/pandas-dev/lib/python3.6/site-packages/fiona/drvsupport.py:143: DeprecationWarning: The 'warn' method is deprecated, use 'warning' instead
    ogrdrv_names = gdalenv.start().drivers().keys()
  /Users/taugspurger/Envs/pandas-dev/lib/python3.6/site-packages/fiona/collection.py:145: DeprecationWarning: The 'warn' method is deprecated, use 'warning' instead
    self.env.__enter__()

pandas/tests/test_expressions.py::TestExpressions::()::test_integer_panel
  /Users/taugspurger/Envs/pandas-dev/lib/python3.6/site-packages/pandas/pandas/core/panel.py:714: DeprecationWarning: 
  Panel is deprecated and will be removed in a future version.
  The recommended way to represent these types of 3-dimensional data are with a MultiIndex on a DataFrame, via the Panel.to_frame() method
  Alternatively, you can use the xarray package http://xarray.pydata.org/en/stable/.
  Pandas provides a `.to_xarray()` method to help automate this conversion.
  
    return self._combine_const(other, func)
  /Users/taugspurger/Envs/pandas-dev/lib/python3.6/site-packages/pandas/pandas/core/ops.py:1389: DeprecationWarning: 
  Panel is deprecated and will be removed in a future version.
  The recommended way to represent these types of 3-dimensional data are with a MultiIndex on a DataFrame, via the Panel.to_frame() method
  Alternatively, you can use the xarray package http://xarray.pydata.org/en/stable/.
  Pandas provides a `.to_xarray()` method to help automate this conversion.
  
    return self._combine_const(other, na_op)

pandas/tests/test_expressions.py::TestExpressions::()::test_float_panel
  /Users/taugspurger/Envs/pandas-dev/lib/python3.6/site-packages/pandas/pandas/core/panel.py:714: DeprecationWarning: 
  Panel is deprecated and will be removed in a future version.
  The recommended way to represent these types of 3-dimensional data are with a MultiIndex on a DataFrame, via the Panel.to_frame() method
  Alternatively, you can use the xarray package http://xarray.pydata.org/en/stable/.
  Pandas provides a `.to_xarray()` method to help automate this conversion.
  
    return self._combine_const(other, func)
  /Users/taugspurger/Envs/pandas-dev/lib/python3.6/site-packages/pandas/pandas/core/ops.py:1389: DeprecationWarning: 
  Panel is deprecated and will be removed in a future version.
  The recommended way to represent these types of 3-dimensional data are with a MultiIndex on a DataFrame, via the Panel.to_frame() method
  Alternatively, you can use the xarray package http://xarray.pydata.org/en/stable/.
  Pandas provides a `.to_xarray()` method to help automate this conversion.
  
    return self._combine_const(other, na_op)

pandas/tests/test_expressions.py::TestExpressions::()::test_mixed_panel
  /Users/taugspurger/Envs/pandas-dev/lib/python3.6/site-packages/pandas/pandas/core/panel.py:714: DeprecationWarning: 
  Panel is deprecated and will be removed in a future version.
  The recommended way to represent these types of 3-dimensional data are with a MultiIndex on a DataFrame, via the Panel.to_frame() method
  Alternatively, you can use the xarray package http://xarray.pydata.org/en/stable/.
  Pandas provides a `.to_xarray()` method to help automate this conversion.
  
    return self._combine_const(other, func)
  /Users/taugspurger/Envs/pandas-dev/lib/python3.6/site-packages/pandas/pandas/core/ops.py:1389: DeprecationWarning: 
  Panel is deprecated and will be removed in a future version.
  The recommended way to represent these types of 3-dimensional data are with a MultiIndex on a DataFrame, via the Panel.to_frame() method
  Alternatively, you can use the xarray package http://xarray.pydata.org/en/stable/.
  Pandas provides a `.to_xarray()` method to help automate this conversion.
  
    return self._combine_const(other, na_op)

pandas/tests/dtypes/test_missing.py::test_array_equivalent_compat
  /Users/taugspurger/Envs/pandas-dev/lib/python3.6/site-packages/numpy/core/numeric.py:2629: FutureWarning: elementwise == comparison failed and returning scalar instead; this will raise an error or perform elementwise comparison in the future.
    return bool(asarray(a1 == a2).all())

pandas/tests/frame/test_analytics.py::TestDataFrameAnalytics::()::test_corr_int_and_boolean
  /Users/taugspurger/Envs/pandas-dev/lib/python3.6/site-packages/scipy/stats/stats.py:3577: RuntimeWarning: invalid value encountered in double_scalars
    size * (size - 1) * (size - 2))

pandas/tests/frame/test_analytics.py::TestDataFrameAnalytics::()::test_clip_mixed_numeric
  source:1893: DeprecationWarning: invalid escape sequence \d
  source:2464: DeprecationWarning: invalid escape sequence \(

pandas/tests/frame/test_operators.py::TestDataFrameOperators::()::test_boolean_comparison
  /Users/taugspurger/Envs/pandas-dev/lib/python3.6/site-packages/pandas/pandas/core/internals.py:1153: DeprecationWarning: elementwise == comparison failed; this will raise an error in the future.
    result = func(values, other)

pandas/tests/indexing/test_coercion.py::TestFillnaSeriesCoercion::()::test_fillna_series_float64
  /Users/taugspurger/Envs/pandas-dev/lib/python3.6/site-packages/pandas/pandas/core/internals.py:4785: ComplexWarning: Casting complex values to real discards the imaginary part
    nn_at = nn.astype(v.dtype)

pandas/tests/io/test_common.py::TestCommonIOCapabilities::()::test_read_fspath_all[reader7-os-/Users/taugspurger/Envs/pandas-dev/lib/python3.6/site-packages/pandas/pandas/tests/io/sas/data/test1.sas7bdat]
  /Users/taugspurger/Envs/pandas-dev/lib/python3.6/importlib/_bootstrap.py:205: ImportWarning: can't resolve package from __spec__ or __package__, falling back on __name__ and __path__
    return f(*args, **kwds)

pandas/tests/io/parser/test_network.py::TestS3::()::test_s3_fails
  /Users/taugspurger/Envs/pandas-dev/lib/python3.6/site-packages/pandas/pandas/tests/io/parser/test_network.py:173: ResourceWarning: unclosed <ssl.SSLSocket fd=28, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=6, laddr=('192.168.7.36', 50425), raddr=('54.231.33.187', 443)>
    read_csv('s3://nyqpug/asdf.csv')
  /Users/taugspurger/Envs/pandas-dev/lib/python3.6/site-packages/pandas/pandas/tests/io/parser/test_network.py:173: ResourceWarning: unclosed <ssl.SSLSocket fd=27, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=6, laddr=('192.168.7.36', 50424), raddr=('54.231.40.83', 443)>
    read_csv('s3://nyqpug/asdf.csv')

pandas/tests/plotting/test_frame.py::TestDataFramePlots::()::test_line_colors
  /Users/taugspurger/Envs/pandas-dev/lib/python3.6/site-packages/pandas/pandas/plotting/_core.py:179: UserWarning: 'colors' is being deprecated. Please use 'color'instead of 'colors'
    warnings.warn(("'colors' is being deprecated. Please use 'color'"

pandas/tests/plotting/test_hist_method.py::TestDataFramePlots::()::test_tight_layout
  /Users/taugspurger/Envs/pandas-dev/lib/python3.6/site-packages/pandas/pandas/tests/plotting/test_hist_method.py:249: UserWarning: To output multiple subplots, the figure containing the passed axes is being cleared
    _check_plot_works(df.hist)

pandas/tests/plotting/test_misc.py::TestDataFramePlots::()::test_parallel_coordinates_with_sorted_labels
  /Users/taugspurger/Envs/pandas-dev/lib/python3.6/site-packages/matplotlib/axes/_base.py:2917: UserWarning: Attempting to set identical left==right results
  in singular transformations; automatically expanding.
  left=0, right=0
    'left=%s, right=%s') % (left, right))

pandas/tests/plotting/test_series.py::TestSeriesPlots::()::test_pie_series
  /Users/taugspurger/Envs/pandas-dev/lib/python3.6/site-packages/pandas/pandas/tests/plotting/test_series.py:296: DeprecationWarning: generator 'TestSeriesPlots.test_pie_series.<locals>.<genexpr>' raised StopIteration
    expected_texts = list(next(it) for it in itertools.cycle(iters))

pandas/tests/util/test_testing.py::TestAssertAlmostEqual::()::test_assert_almost_equal_edge_case_ndarrays
  /Users/taugspurger/Envs/pandas-dev/lib/python3.6/site-packages/pandas/pandas/core/dtypes/missing.py:308: DeprecationWarning: elementwise == comparison failed; this will raise an error in the future.
    return ((left == right) | (isnull(left) & isnull(right))).all()

-- Docs: http://doc.pytest.org/en/latest/warnings.html

Some of these will require updates to the test suite to just use the new behavior. Others should be explicitly caught with tm.assert_produces_warning. (I believe the downstream package warnings are already fixed in master for dask and statsmodels)

@TomAugspurger TomAugspurger added CI Continuous Integration Difficulty Novice Testing pandas testing functions or related to the test suite labels May 24, 2017
@TomAugspurger
Copy link
Contributor Author

TomAugspurger commented May 24, 2017

Some are caused by not using raw strings in regexes. Here's a (hopefully complete list)

# run ag '\bre\.\w+\(["|\']' pandas/**.py | uniq
pandas/compat/numpy/__init__.py:27:_tz_regex = re.compile('[+-]0000$')
pandas/core/config.py:451:        if not bool(re.match('^' + tokenize.Name + '$', k)):
pandas/core/dtypes/dtypes.py:180:    _match = re.compile("(datetime64|M8)\[(?P<unit>.+), (?P<tz>.+)\]")
pandas/core/dtypes/dtypes.py:292:    _match = re.compile("(P|p)eriod\[(?P<freq>.+)\]")
pandas/core/dtypes/dtypes.py:410:    _match = re.compile("(I|i)nterval\[(?P<subtype>.+)\]")
pandas/core/dtypes/inference.py:195:    >>> is_re(re.compile(".*"))
pandas/io/formats/excel.py:265:            'shadow': (bool(re.search('^[^#(]*[1-9]',
pandas/io/parsers.py:2011:            self.nonnum = re.compile('[^-^0-9^%s]+' % self.decimal)
pandas/io/parsers.py:2013:            self.nonnum = re.compile('[^-^0-9^%s^%s]+' % (self.thousands,
pandas/io/parsers.py:3251:        pattern = re.compile('([^%s]+)' % delimiters)
pandas/io/parsers.py:386:        encoding = re.sub('_', '-', encoding).lower()
pandas/io/pytables.py:1771:                m = re.search("values_block_(\d+)", name)
pandas/io/pytables.py:4268:    _re_levels = re.compile("^level_\d+$")
pandas/io/sql.py:1305:        pat = re.compile('\s+')
pandas/plotting/_core.py:202:                if re.match('^[a-z]+?', s) is not None:
pandas/plotting/_core.py:639:        nocolor_style = style is None or re.match('[a-z]+', style) is None
pandas/tests/dtypes/test_inference.py:208:    passes = re.compile('ad'),
pandas/tests/dtypes/test_inference.py:219:    passes = (r'a', u('x'), r'asdf', re.compile('adsf'), u(r'\u2233\s*'),
pandas/tests/indexes/test_multi.py:376:        mutable_regex = re.compile('does not support mutable operations')
pandas/tests/indexes/test_multi.py:554:        both_re = re.compile('Must pass both levels and labels')
pandas/tests/indexes/test_multi.py:566:        length_error = re.compile('>= length of level')
pandas/tests/io/formats/test_format.py:1036:        nmatches = len(re.findall('dtype', str_rep))
pandas/tests/io/parser/common.py:1256:        expected = self.read_csv(StringIO(re.sub('[ ]+', ',', data)),
pandas/tests/io/test_html.py:348:                             match=re.compile(re.compile('Florida')),
pandas/tests/sparse/test_array.py:144:        errmsg = re.compile("bounds")
pandas/tests/test_base.py:45:    mutable_regex = re.compile('does not support mutable operations')
pandas/tests/test_strings.py:528:        pat = re.compile('[a-z][A-Z]{2}')
pandas/tests/test_take.py:14:    fill_error = re.compile("Incompatible type for fill_value")
pandas/util/testing.py:1893:            numeric_tuple = re.sub("[^\d_]_?", "", x).split("_")
pandas/util/testing.py:2441:    >>> assert_raises_regex(ValueError, re.compile('literal'), int, 'XYZ')
pandas/util/testing.py:573:    found = re.compile('%s.*' % prefix).findall('\n'.join(out_locales))

TomAugspurger added a commit to TomAugspurger/dask that referenced this issue May 24, 2017
Catches a handful of warnings from the dask.dataframe test suite. Remaining
warnings fall into a few classes:

1. ResoucreWarnings from cloudpickls (e.g.
  dask/dataframe/tests/test_arithmetics_reduction.py::test_frame_series_arithmetic_methods)
  Not sure what to do here. Probably a legitimate concern of dasks?
2. RuntimeWarnings from numpy (e.g.
  dask/dataframe/tests/test_arithmetics_reduction.py::test_reductions[False]
  I think dask should catch these, (followup PR)
3. ImportWarning from dependencies importing C code? e.g.
  dask/dataframe/tests/test_categorical.py::test_categorical_set_index[disk]
  I have a fix for partd (msgpack). Pandas has some too. Still investigating,
  may be a Cython issue
4. DeprecationWarning on regexes. e.g.
  dask/dataframe/tests/test_groupby.py::test_full_groupby_multilevel[grouper4]
  I think these are all pandas. xref
  pandas-dev/pandas#16481 (comment)
5. RuntimeWarning from pandas merge, e.g.
  dask/dataframe/tests/test_multi.py::test_merge_by_multiple_columns[disk-inner]
  Filing an issue on pandas
TomAugspurger added a commit to TomAugspurger/dask that referenced this issue May 24, 2017
Catches a handful of warnings from the dask.dataframe test suite. Remaining
warnings fall into a few classes:

1. ResoucreWarnings from cloudpickls (e.g.
  dask/dataframe/tests/test_arithmetics_reduction.py::test_frame_series_arithmetic_methods)
  Not sure what to do here. Probably a legitimate concern of dasks?
2. RuntimeWarnings from numpy (e.g.
  dask/dataframe/tests/test_arithmetics_reduction.py::test_reductions[False]
  I think dask should catch these, (followup PR)
3. ImportWarning from dependencies importing C code? e.g.
  dask/dataframe/tests/test_categorical.py::test_categorical_set_index[disk]
  I have a fix for partd (msgpack). Pandas has some too. Still investigating,
  may be a Cython issue
4. DeprecationWarning on regexes. e.g.
  dask/dataframe/tests/test_groupby.py::test_full_groupby_multilevel[grouper4]
  I think these are all pandas. xref
  pandas-dev/pandas#16481 (comment)
5. RuntimeWarning from pandas merge, e.g.
  dask/dataframe/tests/test_multi.py::test_merge_by_multiple_columns[disk-inner]
  Filing an issue on pandas
TomAugspurger added a commit to TomAugspurger/dask that referenced this issue May 31, 2017
Catches a handful of warnings from the dask.dataframe test suite. Remaining
warnings fall into a few classes:

1. ResoucreWarnings from cloudpickls (e.g.
  dask/dataframe/tests/test_arithmetics_reduction.py::test_frame_series_arithmetic_methods)
  Not sure what to do here. Probably a legitimate concern of dasks?
2. RuntimeWarnings from numpy (e.g.
  dask/dataframe/tests/test_arithmetics_reduction.py::test_reductions[False]
  I think dask should catch these, (followup PR)
3. ImportWarning from dependencies importing C code? e.g.
  dask/dataframe/tests/test_categorical.py::test_categorical_set_index[disk]
  I have a fix for partd (msgpack). Pandas has some too. Still investigating,
  may be a Cython issue
4. DeprecationWarning on regexes. e.g.
  dask/dataframe/tests/test_groupby.py::test_full_groupby_multilevel[grouper4]
  I think these are all pandas. xref
  pandas-dev/pandas#16481 (comment)
5. RuntimeWarning from pandas merge, e.g.
  dask/dataframe/tests/test_multi.py::test_merge_by_multiple_columns[disk-inner]
  Filing an issue on pandas
mrocklin pushed a commit to dask/dask that referenced this issue Jun 7, 2017
* TST/CLN: Catch more warnings

Catches a handful of warnings from the dask.dataframe test suite. Remaining
warnings fall into a few classes:

1. ResoucreWarnings from cloudpickls (e.g.
  dask/dataframe/tests/test_arithmetics_reduction.py::test_frame_series_arithmetic_methods)
  Not sure what to do here. Probably a legitimate concern of dasks?
2. RuntimeWarnings from numpy (e.g.
  dask/dataframe/tests/test_arithmetics_reduction.py::test_reductions[False]
  I think dask should catch these, (followup PR)
3. ImportWarning from dependencies importing C code? e.g.
  dask/dataframe/tests/test_categorical.py::test_categorical_set_index[disk]
  I have a fix for partd (msgpack). Pandas has some too. Still investigating,
  may be a Cython issue
4. DeprecationWarning on regexes. e.g.
  dask/dataframe/tests/test_groupby.py::test_full_groupby_multilevel[grouper4]
  I think these are all pandas. xref
  pandas-dev/pandas#16481 (comment)
5. RuntimeWarning from pandas merge, e.g.
  dask/dataframe/tests/test_multi.py::test_merge_by_multiple_columns[disk-inner]
  Filing an issue on pandas

* CLN: catch warnings for dask/array

* TST: Reset warnings for test

Someone is globally setting Warnings to `'once'`. This will reset it
specifically for the test. Long-term solution is to figure out who
is setting that and fix it there.

* Skip on py27

* Fixed skip condition, linting

* Additional comments on warnings
@tnir
Copy link
Contributor

tnir commented Oct 23, 2017

Warnings at HEAD of master (5b99ae2) for Python 3.6 follow (https://travis-ci.org/pandas-dev/pandas/jobs/291434962#L3029)

=============================== warnings summary ===============================

pandas/tests/test_categorical.py::TestCategorical::()::test_tab_complete_warning

/home/travis/miniconda3/envs/pandas/lib/python3.6/site-packages/IPython/core/interactiveshell.py:728: UserWarning: Attempting to work in a virtualenv. If you encounter problems, please install IPython inside the virtualenv.

warn("Attempting to work in a virtualenv. If you encounter problems, please "

pandas/tests/test_resample.py::TestResamplerGrouper::()::test_tab_complete_ipython6_warning

/home/travis/miniconda3/envs/pandas/lib/python3.6/site-packages/IPython/core/interactiveshell.py:728: UserWarning: Attempting to work in a virtualenv. If you encounter problems, please install IPython inside the virtualenv.

warn("Attempting to work in a virtualenv. If you encounter problems, please "

pandas/tests/frame/test_api.py::TestDataFrameMisc::()::test_tab_complete_warning

/home/travis/miniconda3/envs/pandas/lib/python3.6/site-packages/IPython/core/interactiveshell.py:728: UserWarning: Attempting to work in a virtualenv. If you encounter problems, please install IPython inside the virtualenv.

warn("Attempting to work in a virtualenv. If you encounter problems, please "

pandas/tests/io/formats/test_printing.py::TestTableSchemaRepr::()::test_publishes

/home/travis/miniconda3/envs/pandas/lib/python3.6/site-packages/IPython/core/interactiveshell.py:728: UserWarning: Attempting to work in a virtualenv. If you encounter problems, please install IPython inside the virtualenv.

warn("Attempting to work in a virtualenv. If you encounter problems, please "

pandas/tests/io/test_parquet.py::test_cross_engine_pa_fp

source:2677: DeprecationWarning: invalid escape sequence \*

pandas/tests/plotting/test_misc.py::TestDataFramePlots::()::test_parallel_coordinates_with_sorted_labels

/home/travis/miniconda3/envs/pandas/lib/python3.6/site-packages/matplotlib/axes/_base.py:2918: UserWarning: Attempting to set identical left==right results

in singular transformations; automatically expanding.

left=0, right=0

'left=%s, right=%s') % (left, right))

pandas/tests/sparse/test_frame.py::TestSparseDataFrame::()::test_nan_columnname

source:2677: DeprecationWarning: invalid escape sequence \*

pandas/tests/series/test_api.py::TestSeriesMisc::()::test_tab_complete_warning

/home/travis/miniconda3/envs/pandas/lib/python3.6/site-packages/IPython/core/interactiveshell.py:728: UserWarning: Attempting to work in a virtualenv. If you encounter problems, please install IPython inside the virtualenv.

warn("Attempting to work in a virtualenv. If you encounter problems, please "

pandas/tests/util/test_testing.py::TestAssertAlmostEqual::()::test_assert_almost_equal_edge_case_ndarrays

/home/travis/build/pandas-dev/pandas/pandas/core/dtypes/missing.py:316: DeprecationWarning: elementwise == comparison failed; this will raise an error in the future.

return ((left == right) | (isna(left) & isna(right))).all()

/home/travis/build/pandas-dev/pandas/pandas/core/dtypes/missing.py:316: DeprecationWarning: elementwise == comparison failed; this will raise an error in the future.

return ((left == right) | (isna(left) & isna(right))).all()

-- Docs: http://doc.pytest.org/en/latest/warnings.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI Continuous Integration good first issue Testing pandas testing functions or related to the test suite
Projects
None yet
Development

No branches or pull requests

3 participants