This repository was archived by the owner on Mar 26, 2026. It is now read-only.
Commit 4e4f40e
fix: remove __func__ from static method access in tests
The _get_response method is a @staticmethod, so it can be called
directly without using __func__. Using __func__ on a static method
accessed through a class raises AttributeError.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>1 parent d35d541 commit 4e4f40e
File tree
2 files changed
+4
-4
lines changed- gapic
- ads-templates/tests/unit/gapic/%name_%version/%sub
- templates/tests/unit/gapic/%name_%version/%sub
2 files changed
+4
-4
lines changedLines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1476 | 1476 | | |
1477 | 1477 | | |
1478 | 1478 | | |
1479 | | - | |
1480 | | - | |
| 1479 | + | |
| 1480 | + | |
1481 | 1481 | | |
1482 | 1482 | | |
1483 | 1483 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1222 | 1222 | | |
1223 | 1223 | | |
1224 | 1224 | | |
1225 | | - | |
1226 | | - | |
| 1225 | + | |
| 1226 | + | |
1227 | 1227 | | |
1228 | 1228 | | |
1229 | 1229 | | |
| |||
0 commit comments