Skip to content

tests(treescript): fix assertions to actually test something - #1372

Merged
jcristau merged 1 commit into
mozilla-releng:masterfrom
jcristau:treescript-assert
Feb 26, 2026
Merged

jcristau merged 1 commit into
mozilla-releng:masterfrom
jcristau:treescript-assert

Conversation

@jcristau

@jcristau jcristau commented Feb 26, 2026 •

Copy link
Copy Markdown
Contributor

Caught by python 3.12+ (python/cpython#100690):

AttributeError: 'called_with' is not a valid assertion. Use a spec for the mock if 'called_with' is meant to be an attribute.

@jcristau
jcristau requested a review from a team as a code owner February 26, 2026 13:36
Caught by python 3.12+ (python/cpython#100690):

AttributeError: 'called_with' is not a valid assertion. Use a spec for the mock if 'called_with' is meant to be an attribute.
@jcristau
jcristau enabled auto-merge (squash) February 26, 2026 14:49
@jcristau
jcristau merged commit 520f8a5 into mozilla-releng:master Feb 26, 2026
7 checks passed
@jcristau
jcristau deleted the treescript-assert branch February 26, 2026 15:19
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.

2 participants