Skip to content

AttributeError when running pytest --pdb on Python 3.13 #3877

@mdmintz

Description

@mdmintz

AttributeError when running pytest --pdb on Python 3.13

On Python 3.13, when running pytest --pdb, (and there's an exception), the debugger fails with:

'AttributeError' object has no attribute 'tb_frame'

This is caused by changes made in pytest 8.4.0, (which is also on pytest 8.4.1).

This can be resolved by upgrading pdbp to 1.7.1 to get the fix for mdmintz/pdbp#77.

Metadata

Metadata

Assignees

Labels

bugUh oh... Something needs to be fixed

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions