Commit 4f67a65
Test fix: Added return self at the end of DockerProcess.__enter__ method.
Problem: When a process finishes very quickly (before the "is running" check), the method returned None instead of the process object,
causing AttributeError: 'NoneType' object has no attribute 'wait_for_exit'.1 parent b6aab0f commit 4f67a65
1 file changed
Lines changed: 2 additions & 0 deletions
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
| 79 | + | |
| 80 | + | |
79 | 81 | | |
80 | 82 | | |
81 | 83 | | |
| |||
0 commit comments