mirror of
https://github.com/TheAlgorithms/Python.git
synced 2026-03-13 09:50:19 +08:00
Ruff pandas vet (#10281)
* Python linting: Add ruff rules for Pandas-vet and Pytest-style
* updating DIRECTORY.md
---------
Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
This commit is contained in:
@@ -65,14 +65,14 @@ _add_with_resize_down = [
|
||||
|
||||
@pytest.mark.parametrize(
|
||||
"operations",
|
||||
(
|
||||
[
|
||||
pytest.param(_add_items, id="add items"),
|
||||
pytest.param(_overwrite_items, id="overwrite items"),
|
||||
pytest.param(_delete_items, id="delete items"),
|
||||
pytest.param(_access_absent_items, id="access absent items"),
|
||||
pytest.param(_add_with_resize_up, id="add with resize up"),
|
||||
pytest.param(_add_with_resize_down, id="add with resize down"),
|
||||
),
|
||||
],
|
||||
)
|
||||
def test_hash_map_is_the_same_as_dict(operations):
|
||||
my = HashMap(initial_block_size=4)
|
||||
|
||||
Reference in New Issue
Block a user