[Rpm-maint] [rpm-software-management/rpm] Python tests: Check that ds.Count emits deprecation warning (PR #3573)

Karolina Surma notifications at github.com
Thu Feb 13 13:11:53 UTC 2025


This test failed when Python is set to show all warnings, e.g. with -Xdev option for debugging.

```
--- /dev/null	2025-02-06 08:39:24.294002404 +0000
+++ /srv/rpmtests.dir/at-groups/124/stderr	2025-02-13 12:36:33.848737564 +0000
@@ -0,0 +1 @@
+<sys>:0: PendingDeprecationWarning: use len(ds) instead
124. rpmpython.at:620: 124. dependency sets 2 (rpmpython.at:620): FAILED (rpmpython.at:620)
```
You can view, comment on, or merge this pull request online at:

  https://github.com/rpm-software-management/rpm/pull/3573

-- Commit Summary --

  * Check that ds.Count emits deprecation warning

-- File Changes --

    M tests/rpmpython.at (14)

-- Patch Links --

https://github.com/rpm-software-management/rpm/pull/3573.patch
https://github.com/rpm-software-management/rpm/pull/3573.diff

-- 
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/3573
You are receiving this because you are subscribed to this thread.

Message ID: <rpm-software-management/rpm/pull/3573 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20250213/60d3bae1/attachment.htm>


More information about the Rpm-maint mailing list