diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2018-08-19 07:47:54 -0400 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2018-08-24 06:54:17 -0400 |
commit | 948c307c89c9f61256bd96b770fa5b14ee4fe383 (patch) | |
tree | d17aa0456cf4e39fd6daff3c0a33fa52581cb695 /tests | |
parent | b282c54ebaaae13aa8b81f2380cdc20acaa9fc69 (diff) | |
download | python-coveragepy-git-948c307c89c9f61256bd96b770fa5b14ee4fe383.tar.gz |
PyPy needs to close cursors from pragmas
Diffstat (limited to 'tests')
-rw-r--r-- | tests/coveragetest.py | 1 | ||||
-rw-r--r-- | tests/test_data.py | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/tests/coveragetest.py b/tests/coveragetest.py index cd6bb9fc..b804a782 100644 --- a/tests/coveragetest.py +++ b/tests/coveragetest.py @@ -95,7 +95,6 @@ class CoverageTest( if STORAGE != "json": self.skipTest("Not using JSON for data storage") - def clean_local_file_imports(self): """Clean up the results of calls to `import_local_file`. diff --git a/tests/test_data.py b/tests/test_data.py index 48df81fd..00d5d294 100644 --- a/tests/test_data.py +++ b/tests/test_data.py @@ -105,6 +105,8 @@ class DataTestHelpers(CoverageTest): class CoverageDataTest(DataTestHelpers, CoverageTest): """Test cases for CoverageData.""" + # SQL data storage always has files on disk, even without .write(). + # We need to separate the tests so they don't clobber each other. run_in_temp_dir = STORAGE == "sql" def test_empty_data_is_false(self): |