真实测试记录
before exit=1\ntest_contract (test_app.LessonTest.test_contract) ... FAIL
======================================================================
FAIL: test_contract (test_app.LessonTest.test_contract)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/lorin/my-clone/quickrout/public/downloads/tutorials-batch50b-20261014/practical/cline-csv-empty-field-rules/before/test_app.py", line 6, in test_contract
self.assertEqual(parse_csv('id,name,note\n1,"杯,白",\n')[1], ['1','杯,白',''])
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: Lists differ: ['1', '"杯', '白"', ''] != ['1', '杯,白', '']
First differing element 1:
'"杯'
'杯,白'
First list contains 1 additional elements.
First extra element 3:
''
- ['1', '"杯', '白"', '']
? - ------
+ ['1', '杯,白', '']
? ++
----------------------------------------------------------------------
Ran 1 test in 0.001s
FAILED (failures=1)
\nfixed exit=0\ntest_contract (test_app.LessonTest.test_contract) ... ok
----------------------------------------------------------------------
Ran 1 test in 0.000s
OK