File: 0002-Skip-test-error.patch

package info (click to toggle)
python-zeroconf 0.147.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,380 kB
  • sloc: python: 15,356; makefile: 23
file content (24 lines) | stat: -rw-r--r-- 833 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
From: YOKOTA Hiroshi <yokota.hgml@gmail.com>
Date: Sat, 14 May 2022 00:50:05 +0900
Subject: Skip test error

Forwarded: not-needed

Avoid FTBFS error by AssertionError.
Python 3.10 in reproducible build tester (build2) failed.
---
 tests/services/test_browser.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tests/services/test_browser.py b/tests/services/test_browser.py
index e9135bb..521b211 100644
--- a/tests/services/test_browser.py
+++ b/tests/services/test_browser.py
@@ -1443,6 +1443,7 @@ def test_service_browser_matching():
     zc.close()
 
 
+@pytest.mark.skipif(os.environ.get("DEBIAN_TEST"), reason="disabled by Debian builder")
 @patch.object(_engine, "_CACHE_CLEANUP_INTERVAL", 0.01)
 def test_service_browser_expire_callbacks():
     """Test that the ServiceBrowser matching does not match partial names."""