Fixes typos about Linux as platform name

It is `linux` not 'Linux' in sys.platform
This commit is contained in:
Kushal Das 2021-09-02 08:31:30 +05:30
parent 3a07bbe161
commit e4178cff49
No known key found for this signature in database
GPG key ID: C65FF007C75766ED
3 changed files with 4 additions and 4 deletions

View file

@ -569,7 +569,7 @@ class TestRangeRequests:
assert resp.status_code == 206
@pytest.mark.skipif(sys.platform != "Linux", reason="requires Linux")
@pytest.mark.skipif(sys.platform != "linux", reason="requires Linux")
@check_unsupported("curl", ["--version"])
def test_curl(self, temp_dir, tmpdir, common_obj):
web = web_obj(temp_dir, common_obj, "share", 3)
@ -591,7 +591,7 @@ class TestRangeRequests:
]
)
@pytest.mark.skipif(sys.platform != "Linux", reason="requires Linux")
@pytest.mark.skipif(sys.platform != "linux", reason="requires Linux")
@check_unsupported("wget", ["--version"])
def test_wget(self, temp_dir, tmpdir, common_obj):
web = web_obj(temp_dir, common_obj, "share", 3)