ceph / ceph/s3-tests

Replacing "is" with "==" in test_headers.py

Open
#427 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
372
Forks
328
PR merge metrics
No merged PRs in 30d

Description

Python will throw a syntax warning when a comparison is made between String using 'is' keyword. It is better to change the 'is' keyword with '==' for comparisons of String.

In the given file, there are three instances of this problem. There is a case of having a similarity of code in all the files of an Open Source project but the '==' keyword is used in a lot of languages and is a norm.

I can make a PR correcting this simple issue if a maintainer approves of it.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.