Whole file
renatopp/liac-arff
The author described this change as “FIX #61, remove trailing comment lines”. It counts as a record because the check below fails on the code as it stood at a34d1f94b and passes on c143c479f, with nothing else changed between the two runs.
Projectrenatopp/liac-arff
Fix saved2018-03-14
Sharing licenceMIT · LICENSE
Change size+2 −4
What the code was meant to do, written into the code itself as a save note
FIX #61, remove trailing comment lines
The change
| 867 | 867 | for line in data.encode_data(obj.get('data'), attributes): | |
| 868 | 868 | yield line | |
| 869 | 869 | ||
| 870 | - | # FILLER | |
| 871 | - | yield self._encode_comment() | |
| 872 | - | yield self._encode_comment() | |
| 873 | - | yield self._encode_comment() | |
| 870 | + | yield u'' | |
| 871 | + | ||
| 874 | 872 | # ============================================================================= | |
| 875 | 873 | ||
| 876 | 874 | # BASIC INTERFACE ============================================================= |
The check that tells the two apart
fail→pass·tests/test_dump.py::TestDump::test_simple
Check file tests/test_dump.py, taken without changes from the fix and copied onto the older code, so the exact same check runs against both versions.
Origin and history
The code before ita34d1f94b4212145ee030811f74d92b17b8893cf
Broken version dated2018-03-14
Modulearff
Units changedArffEncoder
Fingerprint3da7245cf7992121
Checked2026-08-18 by goldset/0.1
Every field above is generated by our program. None of it is written by hand.
Other bugs found in renatopp/liac-arff
- 2017-02-01Conversor