Skip to content

Commit b77c876

Browse files
authored
Merge pull request #5563 from nicoddemus/sort-fix
Sort parametrize params to test_external_plugins_integrated
2 parents 2180d9e + 7aff51e commit b77c876

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

testing/deprecated_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ def test_terminal_reporter_writer_attr(pytestconfig):
7070
assert terminal_reporter.writer is terminal_reporter._tw
7171

7272

73-
@pytest.mark.parametrize("plugin", deprecated.DEPRECATED_EXTERNAL_PLUGINS)
73+
@pytest.mark.parametrize("plugin", sorted(deprecated.DEPRECATED_EXTERNAL_PLUGINS))
7474
@pytest.mark.filterwarnings("default")
7575
def test_external_plugins_integrated(testdir, plugin):
7676
testdir.syspathinsert()

tox.ini

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,7 @@ filterwarnings =
131131
ignore:yield tests are deprecated, and scheduled to be removed in pytest 4.0:pytest.RemovedInPytest4Warning
132132
ignore:Metafunc.addcall is deprecated and scheduled to be removed in pytest 4.0:pytest.RemovedInPytest4Warning
133133
ignore::pytest.RemovedInPytest4Warning
134+
default:Using or importing the ABCs:DeprecationWarning:unittest2.*
134135
ignore:Module already imported so cannot be rewritten:pytest.PytestWarning
135136
# produced by path.local
136137
ignore:bad escape.*:DeprecationWarning:re

0 commit comments

Comments
 (0)