Import from Debian truncated the message, but here are the failures: ``` > =================================== FAILURES =================================== > _________________ test_subdivisions_have_subdivision_as_parent _________________ > > def test_subdivisions_have_subdivision_as_parent(): > fr_01 = pycountry.subdivisions.get(code="FR-01") > assert fr_01.code == "FR-01" > assert fr_01.name == "Ain" > assert fr_01.type == "Metropolitan department" > > assert fr_01.parent_code == "FR-ARA" > E AssertionError: assert 'FR-FR-ARA' == 'FR-ARA' > E - FR-ARA > E + FR-FR-ARA > E ? +++ > > ../../../src/pycountry/tests/test_general.py:121: AssertionError > ___________________________ test_subdivision_parent ____________________________ > > def test_subdivision_parent(): > s = pycountry.subdivisions > sd = s.get(code="CV-BV") > > assert sd.parent_code == "CV-B" > E AssertionError: assert 'CV-CV-B' == 'CV-B' > E - CV-B > E + CV-CV-B > ``` Basically what we have in autopkgtest (https://objectstorage.prodstack5.canonical.com/swift/v1/AUTH_0f9aae918d5b4744bf7b827671c86842/autopkgtest-noble/noble/amd64/p/pycountry/20240115_211014_71f50@/log.gz)
There is a patch in the Debian bug, so this should resolve itself at some point.
Import from Debian truncated the message, but here are the failures: ======= ======= ======= ======= FAILURES ======= ======= ======= ======= ======= ns_have_ subdivision_ as_parent _________________ ns_have_ subdivision_ as_parent( ): subdivisions. get(code= "FR-01" ) ./src/pycountry /tests/ test_general. py:121: AssertionError _______ _______ ______ test_subdivisio n_parent _______ _______ _______ _______ n_parent( ): subdivisions /objectstorage. prodstack5. canonical. com/swift/ v1/AUTH_ 0f9aae918d5b474 4bf7b827671c868 42/autopkgtest- noble/noble/ amd64/p/ pycountry/ 20240115_ 211014_ 71f50@/ log.gz)
```
> =======
> _________________ test_subdivisio
>
> def test_subdivisio
> fr_01 = pycountry.
> assert fr_01.code == "FR-01"
> assert fr_01.name == "Ain"
> assert fr_01.type == "Metropolitan department"
> > assert fr_01.parent_code == "FR-ARA"
> E AssertionError: assert 'FR-FR-ARA' == 'FR-ARA'
> E - FR-ARA
> E + FR-FR-ARA
> E ? +++
>
> ../../.
> _______
>
> def test_subdivisio
> s = pycountry.
> sd = s.get(code="CV-BV")
> > assert sd.parent_code == "CV-B"
> E AssertionError: assert 'CV-CV-B' == 'CV-B'
> E - CV-B
> E + CV-CV-B
>
```
Basically what we have in autopkgtest (https:/
There is a patch in the Debian bug, so this should resolve itself at some point.