Skip to content

Commit 61fc1b4

Browse files
committed
v0.5.7
1 parent 811ed9d commit 61fc1b4

File tree

3 files changed

+9
-1
lines changed

3 files changed

+9
-1
lines changed

docs/release_log.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
Release Log
22
===========
3+
* 0.5.7 - June 16, 2018
4+
- Fix doc link (#73)
5+
- Fix handling of "do" and "dos" Portuguese prefixes (#71, #72)
36
* 0.5.6 - January 15, 2018
47
- Fix python version check (#64)
58
* 0.5.5 - January 10, 2018

nameparser/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
VERSION = (0, 5, 6)
1+
VERSION = (0, 5, 7)
22
__version__ = '.'.join(map(str, VERSION))
33
__author__ = "Derek Gulbranson"
44
__author_email__ = '[email protected]'

tests.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1887,6 +1887,11 @@ def test_short_names_with_mac(self):
18871887
hn.capitalize()
18881888
self.m(str(hn), 'Mack Johnson', hn)
18891889

1890+
def test_portuguese_prefixes(self):
1891+
hn = HumanName("joao da silva do amaral de souza")
1892+
hn.capitalize()
1893+
self.m(str(hn), 'Joao da Silva do Amaral de Souza', hn)
1894+
18901895
class HumanNameOutputFormatTests(HumanNameTestBase):
18911896

18921897
def test_formatting_init_argument(self):

0 commit comments

Comments
 (0)