Skip to content

Commit

Permalink
Another try
Browse files Browse the repository at this point in the history
  • Loading branch information
ccordoba12 committed Nov 1, 2017
1 parent 9459289 commit 8578318
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .pep8speaks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ scanner:

pycodestyle:
exclude:
- test_*.py # Don't run style checks in test files
- */*test_*.py # Don't run style checks in test files
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,8 @@ def test_dataframeeditor_with_datetimeindex():
assert data(dfm, 2, 1) == '2015-01-03 00:00:00'


@pytest.mark.skipif(PYQT4, reason="It generates a strange failure in another test")
@pytest.mark.skipif(not os.name == 'nt',
reason="It segfaults too much on Linux")
def test_sort_dataframe_with_duplicate_column(qtbot):
df = DataFrame({'A': [1, 3, 2], 'B': [4, 6, 5]})
df = concat((df, df.A), axis=1)
Expand All @@ -246,6 +247,8 @@ def test_sort_dataframe_with_duplicate_column(qtbot):
assert [data(dfm, row, 2) for row in range(len(df))] == ['4', '5', '6']


@pytest.mark.skipif(not os.name == 'nt',
reason="It segfaults too much on Linux")
def test_sort_dataframe_with_category_dtypes(qtbot): # cf. issue 5361
df = DataFrame({'A': [1, 2, 3, 4],
'B': ['a', 'b', 'c', 'd']})
Expand Down

0 comments on commit 8578318

Please sign in to comment.