Skip to content

Commit 2ef378d

Browse files
committed
test nested decorator
1 parent d57adff commit 2ef378d

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

wrapt_timeout_decorator/tests/test_wrapt_timeout_decorator.py

+3-6
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,15 @@
11
"""Timeout decorator tests."""
22

33
from dill import PicklingError
4-
try:
5-
from .lib_test_helper import *
6-
except ImportError: # pragma: no cover
7-
from lib_test_helper import *
84
import pytest
95
from threading import Thread
106
import time
7+
import sys
8+
119
from wrapt_timeout_decorator import *
1210
from wrapt_timeout_decorator.wrapt_timeout_decorator.wrap_helper import *
1311
from wrapt_timeout_decorator.wrapt_timeout_decorator.wrap_function_multiprocess import *
14-
import sys
15-
12+
from .lib_test_helper import *
1613

1714
if sys.version_info < (3, 3): # there is no TimeoutError < Python 3.3
1815
TimeoutError = AssertionError

0 commit comments

Comments
 (0)