8000 Add CPython math/cmath tests by guilhermeleobas · Pull Request #150794 · pytorch/pytorch · GitHub
[go: up one dir, main page]

Skip to content

Add CPython math/cmath tests #150794

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update
[ghstack-poisoned]
  • Loading branch information
guilhermeleobas committed May 21, 2025
commit 2b4e22cae48037f4f02fc062891c141a6a093a05
4 changes: 2 additions & 2 deletions test/dynamo/cpython/3_13/test_math.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,8 @@
import unittest
from torch._dynamo.test_case import CPythonTestCase
from torch.testing._internal.common_utils import (
TEST_WITH_TORCHDYNAMO,
slowTest,
run_tests,
xfailIfTorchDynamo,
skipIfTorchDynamo,
)

Expand Down Expand Up @@ -1129,6 +1128,7 @@ def test_math_dist_leak(self):
with self.assertRaises(ValueError):
math.dist([1, 2], [3, 4, 5])

@slowTest
def testIsqrt(self):
# Test a variety of inputs, large and small.
test_values = (
Expand Down
Loading
You are viewing a condensed version of this merge commit. You can view the full changes here.
0