Skip to content

Commit 967471b

Browse files
authored
update py version to 3.10 for gitactions linting (#404)
* pdate py version to 3.10 for gitactions linting * add third digit to py version * make py version a string
1 parent 415a666 commit 967471b

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

.github/workflows/python.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,10 @@ jobs:
2929
runs-on: ubuntu-latest
3030
steps:
3131
- uses: actions/checkout@v3
32-
- name: Set up Python 3.9
32+
- name: Set up Python 3.10
3333
uses: actions/setup-python@v3
3434
with:
35-
python-version: 3.9
35+
python-version: '3.10'
3636
# flake8 version should be same as the version in requirements/test.txt
3737
# to avoid lint errors on CI
3838
- name: pip install flak8

tests/base.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,6 @@
2020
from optimizely import optimizely
2121

2222

23-
def long(a):
24-
raise NotImplementedError('Tests should only call `long` if running in PY2')
25-
26-
2723
class BaseTest(unittest.TestCase):
2824
def assertStrictTrue(self, to_assert):
2925
self.assertIs(to_assert, True)

0 commit comments

Comments
 (0)