summaryrefslogtreecommitdiff
path: root/tests/test_process.py
diff options
context:
space:
mode:
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