[dynamo, 3.12] enable tests disabled due to missing dynamo 3.12 support (#123300)

Pull Request resolved: https://github.com/pytorch/pytorch/pull/123300
Approved by: https://github.com/jansel, https://github.com/malfet, https://github.com/zou3519
This commit is contained in:
William Wen
2024-04-04 16:58:26 -07:00
committed by PyTorch MergeBot
parent ae6f8d923c
commit cbde0f048b
26 changed files with 6 additions and 132 deletions

View File

@ -3,7 +3,6 @@
import torch
import numpy as np
import sys
import itertools
from itertools import chain
from itertools import product
@ -3886,10 +3885,6 @@ class TestBinaryUfuncs(TestCase):
test_x((2, 3), 1, [1.0, 2.0, 3.0, 4.0], device)
@skipIf(not TEST_SCIPY, "Scipy required for the test.")
# This is failing on Python 3.12. https://github.com/pytorch/pytorch/issues/119462
@skipIf(
sys.version_info >= (3, 12), "Failing on Python 3.12"
)
def test_cumulative_trapezoid(self, device):
import scipy.integrate