Skip to content
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

Test failures under Python 3.13 #105

Open
mdickinson opened this issue May 5, 2024 · 0 comments
Open

Test failures under Python 3.13 #105

mdickinson opened this issue May 5, 2024 · 0 comments

Comments

@mdickinson
Copy link
Owner

Under Python 3.13.0a6 we get the following test failures:

======================================================================
FAIL: test_analyze_simple_cycle (refcycle.test.test_object_graph.TestObjectGraph.test_analyze_simple_cycle)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/mdickinson/Repositories/mdickinson/refcycle/src/refcycle/test/test_object_graph.py", line 406, in test_analyze_simple_cycle
    self.assertEqual(len(sccs), 1)
    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^
AssertionError: 3 != 1

======================================================================
FAIL: test_cycles_created_by (refcycle.test.test_refcycle.TestRefcycle.test_cycles_created_by)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/mdickinson/Repositories/mdickinson/refcycle/src/refcycle/test/test_refcycle.py", line 56, in test_cycles_created_by
    self.assertEqual(len(object_graph), 4)
    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^
AssertionError: 2 != 4

These appear to be the result of logic for dematerialization/rematerialization of instance dicts; see for example python/cpython#106539.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant