summaryrefslogtreecommitdiff
path: root/tests/test_process.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2018-08-14 20:39:31 -0400
committerNed Batchelder <ned@nedbatchelder.com>2018-08-24 06:54:17 -0400
commit9b13a1a7d44d991c4c5dd51d5624f5abe84b77f8 (patch)
treebf0b853e137880342e939fc7e4d4d07688bc4d68 /tests/test_process.py
parent067d0a60384b5f12cfee622381cfb5905efb8e13 (diff)
downloadpython-coveragepy-git-9b13a1a7d44d991c4c5dd51d5624f5abe84b77f8.tar.gz
Skip some tests for SQL for now
Diffstat (limited to 'tests/test_process.py')
-rw-r--r--tests/test_process.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/test_process.py b/tests/test_process.py
index 48083f22..7c705739 100644
--- a/tests/test_process.py
+++ b/tests/test_process.py
@@ -504,6 +504,8 @@ class ProcessTest(CoverageTest):
def test_fork(self):
if not hasattr(os, 'fork'):
self.skipTest("Can't test os.fork since it doesn't exist.")
+ # See https://nedbatchelder.com/blog/201808/sqlite_data_storage_for_coveragepy.html
+ self.skip_unless_data_storage_is_json()
self.make_file("fork.py", """\
import os
@@ -642,6 +644,8 @@ class ProcessTest(CoverageTest):
if env.PYPY and env.PY3 and env.PYPYVERSION[:3] == (5, 10, 0): # pragma: obscure
# https://bitbucket.org/pypy/pypy/issues/2729/pypy3-510-incorrectly-decodes-astral-plane
self.skipTest("Avoid incorrect decoding astral plane JSON chars")
+ self.skip_unless_data_storage_is_json()
+
self.make_file(".coveragerc", """\
[run]
data_file = mydata.dat