File tree Expand file tree Collapse file tree 2 files changed +4
-12
lines changed Expand file tree Collapse file tree 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):
176176 # if the function is already wrapped, we rewrap using the original one
177177 # not using __wrapped__ because the original function may already be
178178 # a wrapped one
179- if hasattr (func , ' _raw_test_func' ):
179+ if hasattr (func , " _raw_test_func" ):
180180 func = func ._raw_test_func
181181
182182 @functools .wraps (func )
Original file line number Diff line number Diff line change 66
77def find_version ():
88 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 ()
1510 )
11+ version_match = re .search (r"^__version__ = ['\"]([^'\"]*)['\"]" , version_file , re .M )
1612 if version_match :
1713 return version_match .group (1 )
1814
@@ -44,11 +40,7 @@ def find_version():
4440 python_requires = ">= 3.7" ,
4541 install_requires = ["pytest >= 5.4.0" ],
4642 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" ],
5244 },
5345 entry_points = {"pytest11" : ["asyncio = pytest_asyncio.plugin" ]},
5446)
You can’t perform that action at this time.
0 commit comments