Skip to content

Commit

Permalink
Drop use of six
Browse files Browse the repository at this point in the history
  • Loading branch information
jelmer committed Nov 24, 2023
1 parent cb9c6eb commit 20ac49f
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
1 change: 1 addition & 0 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ jobs:
run: |
python -m pip install --upgrade pip
python -m pip install ruff testtools pbr
python -m pip install .
- name: Lint with ruff
run: |
ruff check .
Expand Down
1 change: 0 additions & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ classifier =

[extras]
test =
six
docutils
fixtures
testtools
Expand Down
3 changes: 1 addition & 2 deletions testresources/tests/test_optimising_test_suite.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
# license.
#

import six
import testtools
import random
import testresources
Expand Down Expand Up @@ -538,8 +537,8 @@ def _permute_four(self, cases):
permutations.append([case4, case1, case3, case2])
return permutations

@testtools.skipIf(six.PY3, "Flaky on Python 3, see LP #1645008")
def testBasicSortTests(self):
self.skipTest("flaky, see LP #1645008")
# Test every permutation of inputs, with legacy tests.
# Cannot use equal costs because of the use of
# a 2*optimal heuristic for sorting: with equal
Expand Down

0 comments on commit 20ac49f

Please sign in to comment.