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 b2327b6 commit 0e9394bCopy full SHA for 0e9394b
tools/synchro.py
@@ -144,7 +144,17 @@
144
_gridfs_base + f for f in listdir(_gridfs_base) if (Path(_gridfs_base) / f).is_file()
145
]
146
147
-test_files = [_test_base + f for f in listdir(_test_base) if (Path(_test_base) / f).is_file()]
+
148
+def async_only_test(f: str) -> bool:
149
+ """Return True for async tests that should not be converted to sync."""
150
+ return f in ["test_locks.py"]
151
152
153
+test_files = [
154
+ _test_base + f
155
+ for f in listdir(_test_base)
156
+ if (Path(_test_base) / f).is_file() and not async_only_test(f)
157
+]
158
159
sync_files = [
160
_pymongo_dest_base + f
0 commit comments