Commit 15e4367
committed
Grab the signature of redis.Redis at module import time
The change of use inspect.signature in jamesls#314 broke code that mocks
redis.Redis, because the signature is no longer for the correct
function.1 parent ccd62a9 commit 15e4367
1 file changed
+4
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
89 | 92 | | |
90 | 93 | | |
91 | 94 | | |
| |||
2744 | 2747 | | |
2745 | 2748 | | |
2746 | 2749 | | |
2747 | | - | |
2748 | | - | |
| 2750 | + | |
2749 | 2751 | | |
2750 | 2752 | | |
2751 | 2753 | | |
| |||
0 commit comments