Skip to content

Commit

Permalink
ci: bump freebsd, fix sanity test and linting
Browse files Browse the repository at this point in the history
The sanity test 'replace-urlopen' does not test path
'tests/utils/shippable/check_matrix.py', remove this.

Fix lint error for compare types of dict in tests/unit/mock/loader.py.
  • Loading branch information
csmart committed Sep 16, 2023
1 parent 1cbfbdc commit da2cd29
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
8 changes: 4 additions & 4 deletions .azure-pipelines/azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -219,8 +219,8 @@ stages:
test: rhel/8.8
- name: RHEL 9.2
test: rhel/9.2
- name: FreeBSD 13.1
test: freebsd/13.1
- name: FreeBSD 13.2
test: freebsd/13.2

- stage: Remote_2_15
displayName: Remote 2.15
Expand Down Expand Up @@ -262,8 +262,8 @@ stages:
targets:
- name: RHEL 8.5
test: rhel/8.5
- name: FreeBSD 13.0
test: freebsd/13.0
- name: FreeBSD 13.1
test: freebsd/13.1

- stage: Remote_2_12
displayName: Remote 2.12
Expand Down
1 change: 0 additions & 1 deletion tests/sanity/ignore-2.16.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
tests/utils/shippable/timing.py shebang
tests/utils/shippable/check_matrix.py replace-urlopen
tests/unit/compat/builtins.py pylint:unused-import
2 changes: 1 addition & 1 deletion tests/unit/mock/loader.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ class DictDataLoader(DataLoader):

def __init__(self, file_mapping=None):
file_mapping = {} if file_mapping is None else file_mapping
assert type(file_mapping) == dict
assert type(file_mapping) is dict

super(DictDataLoader, self).__init__()

Expand Down

0 comments on commit da2cd29

Please sign in to comment.