summaryrefslogtreecommitdiff
path: root/tests/test_cmdline.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2015-07-21 20:32:39 -0400
committerNed Batchelder <ned@nedbatchelder.com>2015-07-21 20:32:39 -0400
commit2147f7a65af6a9faa034771f15453b3260fad142 (patch)
treedd95df8bbccdfd30f469e054278b73e936e9b112 /tests/test_cmdline.py
parentea9e81b1f5459e7b9155a40215251ed24140f8a8 (diff)
downloadpython-coveragepy-git-2147f7a65af6a9faa034771f15453b3260fad142.tar.gz
Data files are now JSON instead of pickles. Fixes #236.
Diffstat (limited to 'tests/test_cmdline.py')
-rw-r--r--tests/test_cmdline.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_cmdline.py b/tests/test_cmdline.py
index 36a16fb6..5e4379ea 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)