mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-17 08:14:42 +04:00
add a no-cover for py3 [ci skip]
This commit is contained in:
parent
1d40cc2104
commit
2b8291d18f
1 changed files with 1 additions and 1 deletions
|
|
@ -75,7 +75,7 @@ def _shuffled(seq):
|
||||||
fixed_random = random.Random()
|
fixed_random = random.Random()
|
||||||
if six.PY2: # pragma: no cover (py2)
|
if six.PY2: # pragma: no cover (py2)
|
||||||
fixed_random.seed(FIXED_RANDOM_SEED)
|
fixed_random.seed(FIXED_RANDOM_SEED)
|
||||||
else:
|
else: # pragma: no cover (py3)
|
||||||
fixed_random.seed(FIXED_RANDOM_SEED, version=1)
|
fixed_random.seed(FIXED_RANDOM_SEED, version=1)
|
||||||
|
|
||||||
seq = list(seq)
|
seq = list(seq)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue