forked from sebix/python-textile
-
Notifications
You must be signed in to change notification settings - Fork 22
Closed
Description
Running the testsuite with coverage 5.0.3 yields
platform linux -- Python 3.8.1, pytest-4.6.9, py-1.8.0, pluggy-0.13.0
rootdir: .../textile-4.0.0, inifile: pytest.ini, testpaths: tests
plugins: cov-2.8.1
collected 206 items
[...]
INTERNALERROR> Traceback (most recent call last):
INTERNALERROR> File "/usr/lib64/python3.8/site-packages/coverage/sqldata.py", line 1046, in execute
INTERNALERROR> return self.con.execute(sql, parameters)
INTERNALERROR> sqlite3.IntegrityError: UNIQUE constraint failed: meta.key
[...]
According to coveragepy/coveragepy#883 this can be fixed adding this to the .coveragerc file
[run]
parallel = True
In my tests worked.
Metadata
Metadata
Assignees
Labels
No labels