diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2018-08-26 09:44:22 -0400 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2018-08-26 09:48:28 -0400 |
commit | 3ab1c50f23c47721bd2ccb025c0f0a8b3d2b16c9 (patch) | |
tree | aeca089b8c1716cbce2a80a653f9c31bc6b16c9c /tests/coveragetest.py | |
parent | 86508459edcf8f85a394413aec4cf909e709981f (diff) | |
download | python-coveragepy-git-3ab1c50f23c47721bd2ccb025c0f0a8b3d2b16c9.tar.gz |
Tests of the schema checking
Diffstat (limited to 'tests/coveragetest.py')
-rw-r--r-- | tests/coveragetest.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/coveragetest.py b/tests/coveragetest.py index 6e308718..15c61ece 100644 --- a/tests/coveragetest.py +++ b/tests/coveragetest.py @@ -97,9 +97,9 @@ class CoverageTest( self.last_command_output = None self.last_module_name = None - def skip_unless_data_storage_is_json(self): - if STORAGE != "json": - self.skipTest("Not using JSON for data storage") + def skip_unless_data_storage_is(self, storage): + if STORAGE != storage: + self.skipTest("Not using {} for data storage".format(storage)) def clean_local_file_imports(self): """Clean up the results of calls to `import_local_file`. |