|
|
21f45f7afb
|
Add CPython int/float tests (#150795)
Tests:
* test_int.py
* test_int_literal.py
* test_float.py
Minor changes were made to each test to run them inside Dynamo
One can reproduce the changes by downloading the tests from CPython and applying the diff:
```bash
for f in "test_int" "test_int_literal" "test_float"; do
wget -O "test/dynamo/cpython/3_13/${f}.py" "https://raw.githubusercontent.com/python/cpython/refs/heads/3.13/Lib/test/${f}.py"
git apply "test/dynamo/cpython/3_13/${f}.diff"
done
```
Pull Request resolved: https://github.com/pytorch/pytorch/pull/150795
Approved by: https://github.com/williamwen42
|
2025-06-05 00:28:53 +00:00 |
|