Package: python-formencode / 1.3.0-2

disable_pkg_resources_in_tests.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
From f45e2cea1b79cfb882843b62df8b66d3a04ebcef Mon Sep 17 00:00:00 2001
From: Stefano Rivera <stefanor@debian.org>
Date: Sun, 11 Oct 2015 22:20:18 +0200
Subject: disable_pkg_resources_in_tests

Patch-Name: disable_pkg_resources_in_tests.patch
---
 formencode/tests/__init__.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/formencode/tests/__init__.py b/formencode/tests/__init__.py
index a380a39..7fa25b4 100644
--- a/formencode/tests/__init__.py
+++ b/formencode/tests/__init__.py
@@ -12,5 +12,5 @@ os.environ['LANGUAGE'] = 'C'
 import warnings
 warnings.simplefilter('default')
 
-import pkg_resources
-pkg_resources.require('FormEncode')
+#import pkg_resources
+#pkg_resources.require('FormEncode')