Moving tests in series/indexing to fixtures (#20014.1)
State: closed

Moving series/indexing tests from classes to fixtures (issue #20014, part 1)

- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`


Labels:
name: Testing
description: pandas testing functions or related to the test suite
name: Indexing
description: Related to indexing on series/frames, not to indexes themselves

Comments:
Hello @almaleksia! Thanks for updating the PR.

















Cheers ! There are no PEP8 issues in this Pull Request. :beers: 

##### Comment last updated on March 07, 2018 at 16:32 Hours UTC
# [Codecov](https://codecov.io/gh/pandas-dev/pandas/pull/20034?src=pr&el=h1) Report
> Merging [#20034](https://codecov.io/gh/pandas-dev/pandas/pull/20034?src=pr&el=desc) into [master](https://codecov.io/gh/pandas-dev/pandas/commit/fd010de51bd21e4240daac2e1fd0044c65a45091?src=pr&el=desc) will **decrease** coverage by `0.03%`.
> The diff coverage is `n/a`.

[![Impacted file tree graph](https://codecov.io/gh/pandas-dev/pandas/pull/20034/graphs/tree.svg?token=eZ4WkYLtcO&width=650&height=150&src=pr)](https://codecov.io/gh/pandas-dev/pandas/pull/20034?src=pr&el=tree)

```diff
@@            Coverage Diff             @@
##           master   #20034      +/-   ##
==========================================
- Coverage   91.71%   91.67%   -0.04%     
==========================================
  Files         150      150              
  Lines       49104    49102       -2     
==========================================
- Hits        45035    45014      -21     
- Misses       4069     4088      +19
```

| Flag | Coverage Δ | |
|---|---|---|
| #multiple | `90.05% <ø> (-0.04%)` | :arrow_down: |
| #single | `41.87% <ø> (ø)` | :arrow_up: |

| [Impacted Files](https://codecov.io/gh/pandas-dev/pandas/pull/20034?src=pr&el=tree) | Coverage Δ | |
|---|---|---|
| [pandas/core/missing.py](https://codecov.io/gh/pandas-dev/pandas/pull/20034/diff?src=pr&el=tree#diff-cGFuZGFzL2NvcmUvbWlzc2luZy5weQ==) | `85.9% <0%> (-5.75%)` | :arrow_down: |
| [pandas/core/generic.py](https://codecov.io/gh/pandas-dev/pandas/pull/20034/diff?src=pr&el=tree#diff-cGFuZGFzL2NvcmUvZ2VuZXJpYy5weQ==) | `95.88% <0%> (+0.04%)` | :arrow_up: |
| [pandas/util/testing.py](https://codecov.io/gh/pandas-dev/pandas/pull/20034/diff?src=pr&el=tree#diff-cGFuZGFzL3V0aWwvdGVzdGluZy5weQ==) | `83.85% <0%> (+0.2%)` | :arrow_up: |

------

[Continue to review full report at Codecov](https://codecov.io/gh/pandas-dev/pandas/pull/20034?src=pr&el=continue).
> **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta)
> `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
> Powered by [Codecov](https://codecov.io/gh/pandas-dev/pandas/pull/20034?src=pr&el=footer). Last update [fd010de...7f9d7ba](https://codecov.io/gh/pandas-dev/pandas/pull/20034?src=pr&el=lastupdated). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).

@jreback builds looks ok (failure in Travis is the same as yesterday and seems unrelated). 
Codecov report from last travis build log does not show decrease: https://codecov.io/gh/pandas-dev/pandas/compare/56939b4ae45c3da1f6fd0ddb0b60d6a0da38da28...7f9d7ba1c4f71c4af8e220ae9e20e94c8d281bea
its actually a different failure, but its already fixed in master. as an FYI. each time you push, rebase on master before.
thanks!
happy to have PRs for 2/3 (can prob be same one)
@jreback yeah, sorry forgot to rebase. I just saw that fix has been merged already
@jreback  thank you, sure I will start working on 2/3 then