We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b8aaa1f commit 07e4292Copy full SHA for 07e4292
utils/run-unasync-dsl.py
@@ -124,15 +124,16 @@ def main(check=False):
124
f"{output_dir}{file}",
125
]
126
)
127
- subprocess.check_call(
128
- [
129
- "sed",
130
- "-i.bak",
131
- "s/pytest.mark.anyio/pytest.mark.sync/",
132
- f"{output_dir}{file}",
133
- ]
134
- )
135
- subprocess.check_call(["rm", f"{output_dir}{file}.bak"])
+ for library in ["asyncio", "trio", "anyio"]:
+ subprocess.check_call(
+ [
+ "sed",
+ "-i.bak",
+ f"s/pytest.mark.{library}/pytest.mark.sync/",
+ f"{output_dir}{file}",
+ ]
+ )
136
+ subprocess.check_call(["rm", f"{output_dir}{file}.bak"])
137
138
if check:
139
# make sure there are no differences between _sync and _sync_check
0 commit comments