Skip to content

Commit 6f9b14c

Browse files
RibeiroAnadavehunt
authored andcommitted
Fixed tests that were failing due Pytest updates (#190)
* Corrected Rerun failures - from pytest-dev/pytest-rerunfailures@4ec7431#diff-c3a581865b7c0be4e6b5d5fa60d6aed5 * Removed ENV * Changed funcarg to pytest fixture * Removed some comments * Style matter * Style * Reversed rerunfailures to 4.1 * Style * added comment about issue 77 * Removed rerunfailures version due launch of rerunfailures 6.0
1 parent cf21aed commit 6f9b14c

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ dist
1212
# IDE Specific files
1313
### Pycharm IDE - Jetbrains
1414
.idea/*
15+
.vscode/*
1516

1617
### PyDev IDE - Eclipse
1718
.metadata

testing/test_pytest_html.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,9 @@ def test_xpass(): pass
140140

141141
def test_setup_error(self, testdir):
142142
testdir.makepyfile("""
143-
def pytest_funcarg__arg(request):
143+
import pytest
144+
@pytest.fixture
145+
def arg(request):
144146
raise ValueError()
145147
def test_function(arg):
146148
pass

0 commit comments

Comments
 (0)