Skip to content

Conversation

gfyoung
Copy link
Member

@gfyoung gfyoung commented Oct 15, 2017

test_read_excel_parse_dates was calling to_excel without checking if openpyxl was installed. Should skip the test if not installed.

Will merge on green.

test_read_excel_parse_dates was calling
"to_excel" without checking if openpyxl
was installed.
@gfyoung gfyoung added IO Excel read_excel, to_excel Testing pandas testing functions or related to the test suite labels Oct 15, 2017
@gfyoung gfyoung added this to the 0.21.0 milestone Oct 15, 2017
@codecov
Copy link

codecov bot commented Oct 16, 2017

Codecov Report

Merging #17883 into master will increase coverage by <.01%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master   #17883      +/-   ##
==========================================
+ Coverage   91.23%   91.24%   +<.01%     
==========================================
  Files         163      163              
  Lines       50102    50102              
==========================================
+ Hits        45712    45715       +3     
+ Misses       4390     4387       -3
Flag Coverage Δ
#multiple 89.05% <ø> (+0.02%) ⬆️
#single 40.31% <ø> (-0.06%) ⬇️
Impacted Files Coverage Δ
pandas/io/gbq.py 25% <0%> (-58.34%) ⬇️
pandas/core/frame.py 97.75% <0%> (-0.1%) ⬇️
pandas/plotting/_converter.py 65.2% <0%> (+1.81%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update aed9b92...df187cf. Read the comment docs.

@gfyoung gfyoung merged commit c987694 into pandas-dev:master Oct 16, 2017
@gfyoung gfyoung deleted the test-excel-skip-openpyxl branch October 16, 2017 00:30
@jreback
Copy link
Contributor

jreback commented Oct 16, 2017

where was this showing up?

@gfyoung
Copy link
Member Author

gfyoung commented Oct 16, 2017

Nowhere, but I ran into this accidentally when I tried running excel tests locally without openpyxl installed. The test failed instead of skipping.

@jreback
Copy link
Contributor

jreback commented Oct 16, 2017

ok that’s fine

though i thought we had a mechanism at the class level to skip (but maybe that’s for reading only)

ghost pushed a commit to reef-technologies/pandas that referenced this pull request Oct 16, 2017
"test_read_excel_parse_dates" was calling "to_excel" without checking if "openpyxl" was installed.
ghost pushed a commit to reef-technologies/pandas that referenced this pull request Oct 16, 2017
* upstream/master: (76 commits)
  CategoricalDtype construction: actually use fastpath (pandas-dev#17891)
  DEPR: Deprecate tupleize_cols in to_csv (pandas-dev#17877)
  BUG: Fix wrong column selection in drop_duplicates when duplicate column names (pandas-dev#17879)
  DOC: Adding examples to update docstring (pandas-dev#16812) (pandas-dev#17859)
  TST: Skip if no openpyxl in test_excel (pandas-dev#17883)
  TST: Catch read_html slow test warning (pandas-dev#17874)
  flake8 cleanup (pandas-dev#17873)
  TST: remove moar warnings (pandas-dev#17872)
  ENH: tolerance now takes list-like argument for reindex and get_indexer. (pandas-dev#17367)
  ERR: Raise ValueError when week is passed in to_datetime format witho… (pandas-dev#17819)
  TST: remove some deprecation warnings (pandas-dev#17870)
  Refactor index-as-string groupby tests and fix spurious warning (Bug 17383) (pandas-dev#17843)
  BUG: merging with a boolean/int categorical column (pandas-dev#17841)
  DEPR: Deprecate read_csv arguments fully (pandas-dev#17865)
  BUG: to_json - prevent various segfault conditions (GH14256) (pandas-dev#17857)
  CLN: Use pandas.core.common for None checks (pandas-dev#17816)
  BUG: set tz on DTI from fixed format HDFStore (pandas-dev#17844)
  RLS: v0.21.0rc1
  Whatsnew cleanup (pandas-dev#17858)
  DEPR: Deprecate the convert parameter completely (pandas-dev#17831)
  ...
yeemey pushed a commit to yeemey/pandas that referenced this pull request Oct 20, 2017
"test_read_excel_parse_dates" was calling "to_excel" without checking if "openpyxl" was installed.
alanbato pushed a commit to alanbato/pandas that referenced this pull request Nov 10, 2017
"test_read_excel_parse_dates" was calling "to_excel" without checking if "openpyxl" was installed.
No-Stream pushed a commit to No-Stream/pandas that referenced this pull request Nov 28, 2017
"test_read_excel_parse_dates" was calling "to_excel" without checking if "openpyxl" was installed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
IO Excel read_excel, to_excel Testing pandas testing functions or related to the test suite
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants