Skip to content

tests: replace deprecated path parameter for pytest_ignore_collect hook#1031

Open
stanislavlevin wants to merge 1 commit intoUltimaker:mainfrom
stanislavlevin:issue_1030
Open

tests: replace deprecated path parameter for pytest_ignore_collect hook#1031
stanislavlevin wants to merge 1 commit intoUltimaker:mainfrom
stanislavlevin:issue_1030

Conversation

@stanislavlevin
Copy link
Copy Markdown

https://docs.pytest.org/en/latest/deprecations.html#py-path-local-arguments-for-hooks-replaced-with-pathlib-path

py.path.local arguments for hooks replaced with pathlib.Path
Deprecated since version 7.0.
Removed in version 9.0.

Fixes: #1030

https://docs.pytest.org/en/latest/deprecations.html#py-path-local-arguments-for-hooks-replaced-with-pathlib-path

> py.path.local arguments for hooks replaced with pathlib.Path
  Deprecated since version 7.0.
  Removed in version 9.0.

Fixes: Ultimaker#1030
Signed-off-by: Stanislav Levin <slev@altlinux.org>
@github-actions github-actions bot added the PR: Community Contribution 👑 Community Contribution PR's label Feb 24, 2026
@github-actions
Copy link
Copy Markdown

Test Results

2 404 tests  +2 403   2 389 ✅ +2 389   23s ⏱️ +22s
    1 suites ±    0      15 💤 +   15 
    1 files   ±    0       0 ❌ ±    0 

Results for commit aa2b9e3. ± Comparison against base commit 9005e1f.

This pull request removes 1 and adds 2404 tests. Note that renamed tests count towards both.
tests.benchmarks
tests.Bindings.TestActiveToolProxy.TestActiveToolProxy ‑ test_activeToolPanel
tests.Bindings.TestActiveToolProxy.TestActiveToolProxy ‑ test_isValid
tests.Bindings.TestActiveToolProxy.TestActiveToolProxy ‑ test_properties
tests.Bindings.TestActiveToolProxy.TestActiveToolProxy ‑ test_triggerAction
tests.Bindings.TestActiveToolProxy.TestActiveToolProxy ‑ test_triggerActionWithData
tests.Bindings.TestOutputDeviceManagerProxy.TestOutputDeviceManagerProxy ‑ test_startAndRefreshDiscovery
tests.Bindings.TestPointingRectangle ‑ test_getAndSet[data0]
tests.Bindings.TestPointingRectangle ‑ test_getAndSet[data1]
tests.Bindings.TestPointingRectangle ‑ test_getAndSet[data2]
tests.Bindings.TestPointingRectangle ‑ test_getAndSet[data3]
…

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

PR: Community Contribution 👑 Community Contribution PR's

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[self-tests] tests fail against Pytest 9

1 participant