Repository navigation
Commit 997d2aa
[FIX] Test: fix tinyfive test case lack of "load_asm"
Des:
1. Keep self._m = None.
2. Add a simple load_asm() function in StubProfiledMachine, responsible for saving valid assembly lines to _code_words.
3. Neither is it necessary to call the parent class's load_asm() method, nor to manipulate self._m.
Signed-off-by: root <root@DESKTOP-HCT8BMP.localdomain>1 parent 58e415a commit 997d2aa
1 file changed
Lines changed: 11 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
227 | 227 | | |
228 | 228 | | |
229 | 229 | | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
230 | 240 | | |
231 | 241 | | |
232 | 242 | | |
| |||
279 | 289 | | |
280 | 290 | | |
281 | 291 | | |
282 | | - | |
| 292 | + | |
283 | 293 | | |
284 | 294 | | |
285 | 295 | | |
| |||
0 commit comments