Skip to content

Commit 56f8d5f

Browse files
committed
Fix linter checks
1 parent 4ee8115 commit 56f8d5f

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

hashtable/04_load_factor/test_hashtable.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ def test_should_create_hashtable_with_one_load_factor_threshold():
5555
)
5656

5757

58-
def test_should_not_create_hashtable_with_load_factor_threshold_greater_than_one():
58+
def test_should_not_create_hashtable_with_load_factor_threshold_greater_than_1():
5959
with pytest.raises(ValueError):
6060
HashTable(load_factor_threshold=1.1)
6161

hashtable/05_separate_chaining/test_hashtable.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ def test_should_create_hashtable_with_one_load_factor_threshold():
5656
)
5757

5858

59-
def test_should_not_create_hashtable_with_load_factor_threshold_greater_than_one():
59+
def test_should_not_create_hashtable_with_load_factor_threshold_greater_than_1():
6060
with pytest.raises(ValueError):
6161
HashTable(load_factor_threshold=1.1)
6262

hashtable/06_insertion_order/test_hashtable.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,11 +51,11 @@ def test_should_not_create_hashtable_with_negative_load_factor_threshold():
5151

5252
def test_should_create_hashtable_with_one_load_factor_threshold():
5353
assert (
54-
HashTable(load_factor_threshold=1)._load_factor_threshold == 1
54+
HashTable(load_factor_threshold=1)._load_factor_threshold == 1
5555
)
5656

5757

58-
def test_should_not_create_hashtable_with_load_factor_threshold_greater_than_one():
58+
def test_should_not_create_hashtable_with_load_factor_threshold_greater_than_1():
5959
with pytest.raises(ValueError):
6060
HashTable(load_factor_threshold=1.1)
6161

0 commit comments

Comments
 (0)