1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43
|
From: Boyuan Yang <byang@debian.org>
Date: Wed, 18 Dec 2024 20:47:43 -0500
Subject: Try to circumvent pytest error
---
petl/__init__.py | 27 +++++++++++++++------------
1 file changed, 15 insertions(+), 12 deletions(-)
diff --git a/petl/__init__.py b/petl/__init__.py
index 36ac634..b3c5bd6 100644
--- a/petl/__init__.py
+++ b/petl/__init__.py
@@ -1,15 +1,18 @@
from __future__ import absolute_import, print_function, division
-from petl.version import version as __version__
-from petl import comparison
-from petl.comparison import Comparable
-from petl import util
-from petl.util import *
-from petl import io
-from petl.io import *
-from petl import transform
-from petl.transform import *
-from petl import config
-from petl import errors
-from petl.errors import *
+try:
+ from petl.version import version as __version__
+ from petl import comparison
+ from petl.comparison import Comparable
+ from petl import util
+ from petl.util import *
+ from petl import io
+ from petl.io import *
+ from petl import transform
+ from petl.transform import *
+ from petl import config
+ from petl import errors
+ from petl.errors import *
+except Exception:
+ pass
|