Skip to content

Fix: AttributeError: 'tuple' object has no attribute 'testsRun' - #35

Open
j00bar wants to merge 1 commit into
realpython:masterfrom
j00bar:jag/fix-attributeerror
Open

Fix: AttributeError: 'tuple' object has no attribute 'testsRun'#35
j00bar wants to merge 1 commit into
realpython:masterfrom
j00bar:jag/fix-attributeerror

Conversation

@j00bar

@j00bar j00bar commented Aug 4, 2026

Copy link
Copy Markdown

When SLOW_TEST_THRESHOLD_MS is truthy and --slowreportpath is specified, the runner throws an AttributeError, due to local re-use of the argument result. This remediates that by using a differently named local so the argument is passed unchanged into generate_report.

Fixes #32.

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

Successfully merging this pull request may close these issues.

AttributeError when using --slowreportpath with Django 3.1

1 participant