File: 0002-Skip-bad-test.patch

package info (click to toggle)
aiodns 3.0.0-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 164 kB
  • sloc: python: 295; sh: 7; makefile: 3
file content (21 lines) | stat: -rw-r--r-- 664 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
From: Scott Kitterman <scott@kitterman.com>
Date: Mon, 13 Mar 2023 21:22:32 -0400
Subject: Skip bad test

---
 tests.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tests.py b/tests.py
index fc0e2b9..9b97b2f 100755
--- a/tests.py
+++ b/tests.py
@@ -150,6 +150,8 @@ class DNSTest(unittest.TestCase):
         with self.assertRaises(aiodns.error.DNSError):
             self.loop.run_until_complete(f)
 
+    # FIXME
+    @unittest.skip("The site used for this test no longer returns bad chars.")
     def test_query_bad_chars(self):
         f = self.resolver.query('xn--cardeosapeluqueros-r0b.com', 'MX')
         result = self.loop.run_until_complete(f)