From a591430903ed9108c8cb50369be0d9d9c1a0b200 Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Tue, 21 Jul 2015 20:32:39 -0400 Subject: Data files are now JSON instead of pickles. Fixes #236. --- tests/test_cmdline.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/test_cmdline.py') diff --git a/tests/test_cmdline.py b/tests/test_cmdline.py index 36a16fb..5e4379e 100644 --- a/tests/test_cmdline.py +++ b/tests/test_cmdline.py @@ -522,11 +522,11 @@ class CmdLineWithFilesTest(BaseCmdLineTest): def test_debug_data(self): data = CoverageData() - data.add_lines({ + data.set_lines({ "file1.py": dict.fromkeys(range(1, 18)), "file2.py": dict.fromkeys(range(1, 24)), }) - data.add_plugins({"file1.py": "a_plugin"}) + data.set_plugins({"file1.py": "a_plugin"}) data_files = CoverageDataFiles() data_files.write(data) -- cgit v1.2.1