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 67ef897 commit b85b0b6Copy full SHA for b85b0b6
userbenchmark/dynamo/dynamobench/_dynamo/testing.py
@@ -341,6 +341,12 @@ def skipIfNotPy311(fn):
341
return unittest.skip(fn)
342
343
344
+def xfailIfPy312(fn):
345
+ if sys.version_info >= (3, 12):
346
+ return unittest.expectedFailure(fn)
347
+ return fn
348
+
349
350
# Controls tests generated in test/inductor/test_torchinductor_dynamic_shapes.py
351
# and test/dynamo/test_dynamic_shapes.py
352
def expectedFailureDynamic(fn):
0 commit comments