Fix pylint/flake8 errors in configtypes.
This commit is contained in:
parent
59f9d31d4b
commit
a5b3670477
@ -21,7 +21,6 @@
|
|||||||
import re
|
import re
|
||||||
import json
|
import json
|
||||||
import math
|
import math
|
||||||
import itertools
|
|
||||||
import warnings
|
import warnings
|
||||||
import inspect
|
import inspect
|
||||||
import functools
|
import functools
|
||||||
@ -1245,7 +1244,6 @@ class TestQtColor:
|
|||||||
('hsva(10%,20%,30%,40%)', QColor.fromHsv(25, 51, 76, 102)),
|
('hsva(10%,20%,30%,40%)', QColor.fromHsv(25, 51, 76, 102)),
|
||||||
])
|
])
|
||||||
def test_valid(self, val, expected):
|
def test_valid(self, val, expected):
|
||||||
act = configtypes.QtColor().to_py(val)
|
|
||||||
assert configtypes.QtColor().to_py(val) == expected
|
assert configtypes.QtColor().to_py(val) == expected
|
||||||
|
|
||||||
@pytest.mark.parametrize('val', [
|
@pytest.mark.parametrize('val', [
|
||||||
|
Loading…
Reference in New Issue
Block a user