Skip to content

Commit

Permalink
Merge pull request #64 from kianmeng/fix-typos
Browse files Browse the repository at this point in the history
Fix typos
  • Loading branch information
hkage committed Jun 19, 2024
2 parents f8139af + 0691913 commit 990c19c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pganonymize/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -379,7 +379,7 @@ def nested_set(dic, path, value, delimiter='.'):
Set dictionary value by path.
:param dict dic: The source dictionary
:param str path: The path withing dictionary
:param str path: The path within dictionary
:param value: The value to be set
:param str delimiter: The path delimiter
"""
Expand Down
2 changes: 1 addition & 1 deletion tests/test_providers.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ def test_alter_value_with_locale(self, mock_faker):
providers.FakeProvider.alter_value('Foo', name='fake.date_of_birth', locale='de_DE')
assert mock_faker['de_DE'].date_of_birth.call_count == 1

def test_alter_value_with_unkown_locale(self):
def test_alter_value_with_unknown_locale(self):
with pytest.raises(InvalidProviderArgument):
providers.FakeProvider.alter_value('Foo', name='fake.date_of_birth', locale='de_DE')

Expand Down

0 comments on commit 990c19c

Please sign in to comment.