File: disable-domain-tests.patch

package info (click to toggle)
python-tornado 6.5.2-1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 3,176 kB
  • sloc: python: 28,920; javascript: 156; sh: 100; ansic: 72; xml: 49; makefile: 49; sql: 23
file content (21 lines) | stat: -rw-r--r-- 789 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: 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: not-needed
---
 tornado/test/netutil_test.py | 1 +
 1 file changed, 1 insertion(+)

Index: python-tornado/tornado/test/netutil_test.py
===================================================================
--- python-tornado.orig/tornado/test/netutil_test.py
+++ python-tornado/tornado/test/netutil_test.py
@@ -49,6 +49,7 @@ class _ResolverTestMixin(AsyncTestCase):
 class _ResolverErrorTestMixin(AsyncTestCase):
     resolver = None  # type: typing.Any
 
+    @unittest.skip("Prevent internet access during build")
     @gen_test
     def test_bad_host(self):
         with self.assertRaises(IOError):