Skip to content

Commit

Permalink
Fix pep8 test
Browse files Browse the repository at this point in the history
  • Loading branch information
vstinner committed Sep 3, 2023
1 parent 6da31a1 commit 1b67cba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_metadata.py
Expand Up @@ -125,7 +125,7 @@ def check_attr(self, metadata, name, value):
read = reads[index]

# Check type
if type(read) != type(value) \
if type(read) is not type(value) \
and not (isinstance(value, int) and isinstance(value, int)):
if self.verbose:
sys.stdout.write("wrong type (%s instead of %s)!\n"
Expand Down

0 comments on commit 1b67cba

Please sign in to comment.