File tree 2 files changed +4
-12
lines changed
2 files changed +4
-12
lines changed Original file line number Diff line number Diff line change @@ -176,7 +176,7 @@ def wrap_in_sync(func, _loop):
176
176
# if the function is already wrapped, we rewrap using the original one
177
177
# not using __wrapped__ because the original function may already be
178
178
# a wrapped one
179
- if hasattr (func , ' _raw_test_func' ):
179
+ if hasattr (func , " _raw_test_func" ):
180
180
func = func ._raw_test_func
181
181
182
182
@functools .wraps (func )
Original file line number Diff line number Diff line change 6
6
7
7
def find_version ():
8
8
version_file = (
9
- Path (__file__ )
10
- .parent .joinpath ("pytest_asyncio" , "__init__.py" )
11
- .read_text ()
12
- )
13
- version_match = re .search (
14
- r"^__version__ = ['\"]([^'\"]*)['\"]" , version_file , re .M
9
+ Path (__file__ ).parent .joinpath ("pytest_asyncio" , "__init__.py" ).read_text ()
15
10
)
11
+ version_match = re .search (r"^__version__ = ['\"]([^'\"]*)['\"]" , version_file , re .M )
16
12
if version_match :
17
13
return version_match .group (1 )
18
14
@@ -44,11 +40,7 @@ def find_version():
44
40
python_requires = ">= 3.7" ,
45
41
install_requires = ["pytest >= 5.4.0" ],
46
42
extras_require = {
47
- "testing" : [
48
- "coverage" ,
49
- "hypothesis >= 5.7.1" ,
50
- "flaky >= 3.5.0"
51
- ],
43
+ "testing" : ["coverage" , "hypothesis >= 5.7.1" , "flaky >= 3.5.0" ],
52
44
},
53
45
entry_points = {"pytest11" : ["asyncio = pytest_asyncio.plugin" ]},
54
46
)
You can’t perform that action at this time.
0 commit comments