Commit 5d2b3a0
authored
bpo-44469: Fix tests for "async with" with bad object (pythonGH-26817)
Test for execution of the body was null. It would pass
even if the code which should be skipped was executed.1 parent a317778 commit 5d2b3a0
1 file changed
Lines changed: 12 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1205 | 1205 | | |
1206 | 1206 | | |
1207 | 1207 | | |
1208 | | - | |
| 1208 | + | |
1209 | 1209 | | |
| 1210 | + | |
| 1211 | + | |
1210 | 1212 | | |
1211 | 1213 | | |
1212 | 1214 | | |
1213 | 1215 | | |
1214 | 1216 | | |
1215 | | - | |
| 1217 | + | |
1216 | 1218 | | |
1217 | 1219 | | |
1218 | 1220 | | |
1219 | 1221 | | |
1220 | 1222 | | |
1221 | 1223 | | |
1222 | | - | |
| 1224 | + | |
1223 | 1225 | | |
| 1226 | + | |
| 1227 | + | |
1224 | 1228 | | |
1225 | 1229 | | |
1226 | 1230 | | |
1227 | 1231 | | |
1228 | 1232 | | |
1229 | | - | |
| 1233 | + | |
1230 | 1234 | | |
1231 | 1235 | | |
1232 | 1236 | | |
1233 | 1237 | | |
1234 | 1238 | | |
1235 | | - | |
| 1239 | + | |
1236 | 1240 | | |
| 1241 | + | |
| 1242 | + | |
1237 | 1243 | | |
1238 | 1244 | | |
1239 | 1245 | | |
1240 | 1246 | | |
1241 | 1247 | | |
1242 | | - | |
| 1248 | + | |
1243 | 1249 | | |
1244 | 1250 | | |
1245 | 1251 | | |
| |||
0 commit comments