Skip to content

[MAINT/Test] skip test instead of mangling name in test_generic_methods - #4978

Merged
bashtage merged 2 commits into
statsmodels:masterfrom
jbrockmendel:unmangle_base
May 3, 2019
Merged

bashtage merged 2 commits into
statsmodels:masterfrom
jbrockmendel:unmangle_base

Conversation

@jbrockmendel

Copy link
Copy Markdown
Contributor

Also remove a bunch of unused imports in the affected file.

@coveralls

coveralls commented Aug 24, 2018 •

Copy link
Copy Markdown

Coverage Status

Coverage increased (+0.4%) to 84.245% when pulling f7cd396 on jbrockmendel:unmangle_base into 8675b89 on statsmodels:master.

@codecov-io

codecov-io commented Aug 24, 2018 •

Copy link
Copy Markdown

Codecov Report

❗ No coverage uploaded for pull request base (master@64dc6fe). Click here to learn what that means.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff            @@
##             master    #4978   +/-   ##
=========================================
  Coverage          ?   81.71%           
=========================================
  Files             ?      569           
  Lines             ?    89688           
  Branches          ?    10028           
=========================================
  Hits              ?    73288           
  Misses            ?    14128           
  Partials          ?     2272
Impacted Files Coverage Δ
statsmodels/base/tests/test_generic_methods.py 97.74% <100%> (ø)

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 64dc6fe...ef964bd. Read the comment docs.

@jbrockmendel jbrockmendel changed the title [MAINT/Test] skip test instead of mangling name [MAINT/Test] skip test instead of mangling name in test_generic_methods Aug 24, 2018
@jbrockmendel jbrockmendel mentioned this pull request Aug 24, 2018
@jbrockmendel

Copy link
Copy Markdown
Contributor Author

@josef-pkt n merge conflict, not just cleanup, still simple

@jbrockmendel

Copy link
Copy Markdown
Contributor Author

@josef-pkt test fixing, not just cleanup, should be delegated to Kevin.

@jbrockmendel

Copy link
Copy Markdown
Contributor Author

@bashtage a handful of test-improvement PRs could use some eyeballs if you get a chance: #4978, #4980, #4983, #4988, #5086, #5136, #5184,

class T_estWaldAnovaOLSNoFormula(object):
@pytest.mark.skip(reason="TODO: Find a reason. "
"This used to just have a mangled name.")
class TestWaldAnovaOLSNoFormula(object):

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@josef-pkt this was introduced in #2132 (yours) and was never not-mangled. That PR doesn't have any comments that suggest why this was done. Any recollection? (Also, this and several other test-improvement PRs would be super-swell to get out of the way (plus a couple of 1-line-diff PRs by bashtage and a new contributor, respectively))

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks like I changed my mind during a commit and added a test method instead of a test class.
This class is incomplete and if I make it follow the pattern of other classes, then both inherited methods fail,
i.e. CheckAnovaMixin only works for models with formula
5270986

this test class can be deleted

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

updated.

@jbrockmendel

Copy link
Copy Markdown
Contributor Author

@josef-pkt updated with requested edit, now green.

@jbrockmendel

Copy link
Copy Markdown
Contributor Author

gentle ping; updated with requested changes

@bashtage

bashtage commented May 3, 2019

Copy link
Copy Markdown
Member

Rebase and it is in.

@bashtage bashtage self-assigned this May 3, 2019
@bashtage
bashtage merged commit 365129d into statsmodels:master May 3, 2019
@jbrockmendel
jbrockmendel deleted the unmangle_base branch May 4, 2019 00:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants