Message405448
I created a new branch in my clone for you that has the 3.10 workaround disabled.
# checkout:
git clone -b bpo45319 https://github.com/tiran/wrapt.git
cd wrapt
# build src/wrapt/_wrappers.abi3.so
python3 setup.py build_ext -i
# run tests
$ PYTHONPATH=src python3.9 tests/test_update_attributes.py
..........
----------------------------------------------------------------------
Ran 10 tests in 0.001s
OK
$ PYTHONPATH=src python3.10 tests/test_update_attributes.py
FF........
======================================================================
FAIL: test_update_annotations (__main__.TestUpdateAttributes)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/tmp/wrapt/tests/test_update_attributes.py", line 149, in test_update_annotations
self.assertEqual(function.__wrapped__.__annotations__, override_annotations)
AssertionError: {} != {'override_annotations': ''}
- {}
+ {'override_annotations': ''}
======================================================================
FAIL: test_update_annotations_modified_on_original (__main__.TestUpdateAttributes)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/tmp/wrapt/tests/test_update_attributes.py", line 173, in test_update_annotations_modified_on_original
self.assertEqual(function.__annotations__, override_annotations)
AssertionError: {} != {'override_annotations': ''}
- {}
+ {'override_annotations': ''}
----------------------------------------------------------------------
Ran 10 tests in 0.001s
FAILED (failures=2) |
|
Date |
User |
Action |
Args |
2021-11-01 16:06:30 | christian.heimes | set | recipients:
+ christian.heimes, vstinner, larry, grahamd, petr.viktorin, corona10, pablogsal |
2021-11-01 16:06:30 | christian.heimes | set | messageid: <1635782790.32.0.98758649526.issue45319@roundup.psfhosted.org> |
2021-11-01 16:06:30 | christian.heimes | link | issue45319 messages |
2021-11-01 16:06:30 | christian.heimes | create | |
|