Skip to content

Commit eeda7a7

Browse files
committed
Ruff linter: E721 Use 'is' and 'is not' for type comparisons
1 parent b775709 commit eeda7a7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/test_eccodes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -733,7 +733,7 @@ def test_grib_uuid_get_set():
733733
eccodes.codes_set(gid, "gridType", "unstructured_grid")
734734
key = "uuidOfHGrid"
735735
ntype = eccodes.codes_get_native_type(gid, key)
736-
assert ntype == bytes
736+
assert ntype is bytes
737737

738738
uuid = eccodes.codes_get_string(gid, key)
739739
assert uuid == "00000000000000000000000000000000"

0 commit comments

Comments
 (0)