Fix (and test) the comparison of R's .rdb files after refactoring of temporary directory handling.
This was a regression introduced in 1ee33f4e -- what was happening was that the two files to be compared were copied to a temporary directory, overwriting each other. This commit ensures they do not collide. Signed-off-by:Chris Lamb <lamby@debian.org>
Showing
- diffoscope/comparators/rdata.py 4 additions, 4 deletionsdiffoscope/comparators/rdata.py
- tests/comparators/test_rdata.py 35 additions, 15 deletionstests/comparators/test_rdata.py
- tests/data/rdb_expected_diff 14813 additions, 0 deletionstests/data/rdb_expected_diff
- tests/data/rds_expected_diff 940 additions, 35 deletionstests/data/rds_expected_diff
- tests/data/test1.rdb 0 additions, 0 deletionstests/data/test1.rdb
- tests/data/test1.rdx 0 additions, 0 deletionstests/data/test1.rdx
- tests/data/test2.rdb 0 additions, 0 deletionstests/data/test2.rdb
- tests/data/test2.rdx 0 additions, 0 deletionstests/data/test2.rdx
- tests/test_source.py 2 additions, 0 deletionstests/test_source.py
- tests/utils/data.py 11 additions, 1 deletiontests/utils/data.py
tests/data/rdb_expected_diff
0 → 100644
This diff is collapsed.
tests/data/test1.rdb
0 → 100644
File added
No preview for this file type
tests/data/test2.rdb
0 → 100644
File added
No preview for this file type
Please register or sign in to comment