File: disable-domain-tests.patch

package info (click to toggle)
python-tornado 6.2.0-3%2Bdeb12u2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 3,656 kB
  • sloc: python: 27,837; javascript: 156; sh: 99; ansic: 58; xml: 49; makefile: 48; sql: 23
file content (21 lines) | stat: -rw-r--r-- 745 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
From: SVN-Git Migration <python-modules-team@lists.alioth.debian.org>
Date: Thu, 8 Oct 2015 13:13:30 -0700
Subject: Disable domain tests to prevent internet access during build

Forwarded: Debian-specific
---
 tornado/test/netutil_test.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tornado/test/netutil_test.py b/tornado/test/netutil_test.py
index f36b7c2..904521b 100644
--- a/tornado/test/netutil_test.py
+++ b/tornado/test/netutil_test.py
@@ -52,6 +52,7 @@ class _ResolverTestMixin(object):
 class _ResolverErrorTestMixin(object):
     resolver = None  # type: typing.Any
 
+    @unittest.skip("Prevent internet access during build")
     @gen_test
     def test_bad_host(self: typing.Any):
         with self.assertRaises(IOError):