File tree 2 files changed +5
-4
lines changed
2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -1050,6 +1050,7 @@ def _get_last_node_version(lts=False):
1050
1050
Return last node.js version matching the filter
1051
1051
"""
1052
1052
print ({"x86" : is_x86_64_musl (), "risc" : is_riscv64 (), "lts" : lts })
1053
+
1053
1054
def version_filter (v ):
1054
1055
if lts and not v ['lts' ]:
1055
1056
return False
Original file line number Diff line number Diff line change @@ -70,15 +70,15 @@ def cap_logging_info():
70
70
71
71
@pytest .fixture
72
72
def mock_host_platform ():
73
- with mock .patch .object (nodeenv , 'is_x86_64_musl' , return_value = False ) as x64_mck :
74
- with mock .patch .object (nodeenv , 'is_riscv64' , return_value = False ) as risc_mck :
73
+ with mock .patch .object (nodeenv , 'is_x86_64_musl' , return_value = False ):
74
+ with mock .patch .object (nodeenv , 'is_riscv64' , return_value = False ):
75
75
yield
76
76
77
77
78
78
@pytest .fixture
79
79
def mock_riscv64_platform ():
80
- with mock .patch .object (nodeenv , 'is_x86_64_musl' , return_value = False ) as x64_mck :
81
- with mock .patch .object (nodeenv , 'is_riscv64' , return_value = True ) as risc_mck :
80
+ with mock .patch .object (nodeenv , 'is_x86_64_musl' , return_value = False ):
81
+ with mock .patch .object (nodeenv , 'is_riscv64' , return_value = True ):
82
82
yield
83
83
84
84
You can’t perform that action at this time.
0 commit comments