Skip to content

Commit e6d2d0e

Browse files
committed
fix nits causing build failure
1 parent bba14ab commit e6d2d0e

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

tools/src/test/python/test_readconfig.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
#
2121

2222
#
23-
# Copyright (c) 2021, Oracle and/or its affiliates. All rights reserved.
23+
# Copyright (c) 2021, 2023, Oracle and/or its affiliates. All rights reserved.
2424
#
2525
import os
2626
import tempfile
@@ -37,5 +37,5 @@ def test_read_config_empty_yaml():
3737
res = read_config(mock(spec=logging.Logger, strict=False), tmpf.name)
3838
os.remove(tmpf.name)
3939
assert res is not None
40-
assert type(res) == dict
40+
assert type(res) is dict
4141
assert len(res) == 0

tools/src/test/python/test_restful.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
#
2121

2222
#
23-
# Copyright (c) 2019, 2022, Oracle and/or its affiliates. All rights reserved.
23+
# Copyright (c) 2019, 2023, Oracle and/or its affiliates. All rights reserved.
2424
#
2525

2626
import pytest
@@ -30,7 +30,7 @@
3030

3131
from mockito import verify, patch, mock
3232

33-
from opengrok_tools.utils.restful import call_rest_api,\
33+
from opengrok_tools.utils.restful import call_rest_api, \
3434
CONTENT_TYPE, APPLICATION_JSON, do_api_call
3535
from opengrok_tools.utils.commandsequence import ApiCall
3636

0 commit comments

Comments
 (0)