File tree Expand file tree Collapse file tree 2 files changed +14
-0
lines changed Expand file tree Collapse file tree 2 files changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -533,6 +533,9 @@ def maybe_skip_test(self, spec):
533
533
"maxTimeMS value in the command is less than timeoutMS" ,
534
534
"timeoutMS applies to whole operation.*" ,
535
535
]
536
+ slow_pypy = [
537
+ "timeoutMS applies to whole operation.*" ,
538
+ ]
536
539
if sys .platform == "win32" and "gridfs" in class_name :
537
540
self .skipTest ("PYTHON-3522 CSOT GridFS test runs too slow on Windows" )
538
541
if sys .platform == "win32" :
@@ -543,6 +546,10 @@ def maybe_skip_test(self, spec):
543
546
for pat in slow_macos :
544
547
if re .match (pat .lower (), description ):
545
548
self .skipTest ("PYTHON-3522 CSOT test runs too slow on MacOS" )
549
+ if sys .implementation .name .lower () == "pypy" :
550
+ for pat in slow_pypy :
551
+ if re .match (pat .lower (), description ):
552
+ self .skipTest ("PYTHON-3522 CSOT test runs too slow on PyPy" )
546
553
if "change" in description or "change" in class_name :
547
554
self .skipTest ("CSOT not implemented for watch()" )
548
555
if "cursors" in class_name :
Original file line number Diff line number Diff line change @@ -532,6 +532,9 @@ def maybe_skip_test(self, spec):
532
532
"maxTimeMS value in the command is less than timeoutMS" ,
533
533
"timeoutMS applies to whole operation.*" ,
534
534
]
535
+ slow_pypy = [
536
+ "timeoutMS applies to whole operation.*" ,
537
+ ]
535
538
if sys .platform == "win32" and "gridfs" in class_name :
536
539
self .skipTest ("PYTHON-3522 CSOT GridFS test runs too slow on Windows" )
537
540
if sys .platform == "win32" :
@@ -542,6 +545,10 @@ def maybe_skip_test(self, spec):
542
545
for pat in slow_macos :
543
546
if re .match (pat .lower (), description ):
544
547
self .skipTest ("PYTHON-3522 CSOT test runs too slow on MacOS" )
548
+ if sys .implementation .name .lower () == "pypy" :
549
+ for pat in slow_pypy :
550
+ if re .match (pat .lower (), description ):
551
+ self .skipTest ("PYTHON-3522 CSOT test runs too slow on PyPy" )
545
552
if "change" in description or "change" in class_name :
546
553
self .skipTest ("CSOT not implemented for watch()" )
547
554
if "cursors" in class_name :
You can’t perform that action at this time.
0 commit comments