Unverified Commit d6c39873 authored by Wolfgang Walther's avatar Wolfgang Walther Committed by GitHub
Browse files

treewide: pytestFlagsArray -> pytestFlags and join flag and option argument (#416213)

parents b0ae7858 4945a86b
Loading
Loading
Loading
Loading
+4 −7
Original line number Diff line number Diff line
@@ -39,13 +39,10 @@ python3Packages.buildPythonApplication rec {
    defusedxml
  ];

  pytestFlagsArray = [
    "-W"
    "ignore::sphinx.deprecation.RemovedInSphinx90Warning"
    "--rootdir"
    "src/ablog"
    "-W"
    "ignore::sphinx.deprecation.RemovedInSphinx90Warning" # Ignore ImportError
  pytestFlags = [
    "-Wignore::sphinx.deprecation.RemovedInSphinx90Warning"
    "--rootdir=src/ablog"
    "-Wignore::sphinx.deprecation.RemovedInSphinx90Warning" # Ignore ImportError
  ];

  # assert "post 1" not in html
+2 −3
Original line number Diff line number Diff line
@@ -60,9 +60,8 @@ localPython.pkgs.buildPythonApplication rec {
  ];

  # Upstream did not adapt to pytest 8 yet.
  pytestFlagsArray = [
    "-W"
    "ignore::pytest.PytestRemovedIn8Warning"
  pytestFlags = [
    "-Wignore::pytest.PytestRemovedIn8Warning"
  ];

  passthru = {
+1 −1
Original line number Diff line number Diff line
@@ -144,7 +144,7 @@ py.pkgs.buildPythonApplication rec {
  # tests/unit/customizations/sso/test_utils.py uses sockets
  __darwinAllowLocalNetworking = true;

  pytestFlagsArray = [
  pytestFlags = [
    "-Wignore::DeprecationWarning"
  ];

+1 −1
Original line number Diff line number Diff line
@@ -101,7 +101,7 @@ python.pkgs.buildPythonApplication rec {
    pytestCheckHook
  ];

  pytestFlagsArray = [
  pytestFlags = [
    "--benchmark-skip"
    "--pyargs"
    "borg.testsuite"
+1 −1
Original line number Diff line number Diff line
@@ -71,7 +71,7 @@ python3.pkgs.buildPythonApplication rec {
    "browsr"
  ];

  pytestFlagsArray = [
  pytestFlags = [
    "--snapshot-update"
  ];

Loading