Posts

Albstadt

Image
Cet article est une ébauche concernant une ville d’Allemagne. Vous pouvez partager vos connaissances en l’améliorant ( comment ? ) selon les recommandations des projets correspondants. Albstadt .mw-parser-output .entete.map{background-image:url("//upload.wikimedia.org/wikipedia/commons/7/7a/Picto_infobox_map.png")} Héraldique Administration Pays Allemagne Land  Bade-Wurtemberg District ( Regierungsbezirk ) Tübingen Arrondissement ( Landkreis ) Zollernalb Nombre de quartiers ( Ortsteile ) 9 Bourgmestre ( Oberbürgermeister ) Klaus Konzelmann (Freie Wähler) Code postal 72421–72461 Code communal ( Gemeindeschlüssel ) 08 4 17 079 Indicatif téléphonique 07431, 07432, 07435 Immatriculation BL Démographie Population 44 056  hab. (31 déc. 2013) Densité 328  hab./km 2 Géographie Coordonnées 48° 12′ 43″ nord, 9° 01′ 26″ est Altitude 731  m Superficie ...

Test exception chaining and traceback output with doctest

Image
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ height:90px;width:728px;box-sizing:border-box; } 0 How to test a 'multi traceback' using doctest? It seems that using several ELLIPSIS and <BLANKLINE> won't do the trick: def myfunc(): """ >>> myfunc() Traceback (most recent call last): ... ValueError: this is <BLANKLINE> The above exception was the direct cause of the following exception: <BLANKLINE> Traceback (most recent call last): ... TypeError: it """ try: raise ValueError('this is') except ValueError as err: raise TypeError('it') from err imp...