Skip to content

Commit

Permalink
update py version to 3.10 for gitactions linting (#404)
Browse files Browse the repository at this point in the history
* pdate py version to 3.10 for  gitactions linting

* add third digit to py version

* make  py version a string
  • Loading branch information
Mat001 authored Aug 26, 2022
1 parent 415a666 commit 967471b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.9
- name: Set up Python 3.10
uses: actions/setup-python@v3
with:
python-version: 3.9
python-version: '3.10'
# flake8 version should be same as the version in requirements/test.txt
# to avoid lint errors on CI
- name: pip install flak8
Expand Down
4 changes: 0 additions & 4 deletions tests/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,6 @@
from optimizely import optimizely


def long(a):
raise NotImplementedError('Tests should only call `long` if running in PY2')


class BaseTest(unittest.TestCase):
def assertStrictTrue(self, to_assert):
self.assertIs(to_assert, True)
Expand Down

0 comments on commit 967471b

Please sign in to comment.