Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

testsuite: internal error with coverage 5.0.X #72

Closed
thmo opened this issue Jan 25, 2020 · 1 comment
Closed

testsuite: internal error with coverage 5.0.X #72

thmo opened this issue Jan 25, 2020 · 1 comment

Comments

@thmo
Copy link

thmo commented Jan 25, 2020

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 nedbat/coveragepy#883 this can be fixed adding this to the .coveragerc file

[run]
parallel = True

In my tests worked.

@ikirudennis
Copy link
Member

closed by f7cca82

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants