Errata

Test-Driven Development with Python

Errata for Test-Driven Development with Python, Second Edition

Submit your own errata for this product.

The errata list is a list of errors and their corrections that were found after the product was released. If the error was corrected in a later version or reprint the date of the correction will be displayed in the column titled "Date Corrected".

The following errata were submitted by our customers and approved as valid errors by the author or editor.

Color key: Serious technical mistake Minor technical mistake Language or formatting error Typo Question Note Update

Version Location Description Submitted By Date submitted Date corrected
Other Digital Version
"Starting a Git Repository" section (chapter_01.html)

Hi,

"So superlists/settings.py means the settings.py inside the second-level superlists."

There's no first-level superlists that I can see. Could this be a remnant from the first edition of the book?

Greetings,
F.

Note from the Author or Editor:
Hi there, thanks, this has been fixed in the latest minor release.

Anonymous  Mar 22, 2018 
Printed
Page 21
Warning, 2nd paragraph

Words probably missing in: "...from all the bits whre the following instructions and copy-pasting goes smoothly."

Anonymous  Feb 21, 2018  Mar 02, 2018
Chapter 24, Continuous Integration chapter

I think the CI chapter (Chapter 24) needs to follow Chapter 9 in specifying an installation of Python 3.6 to the CI server. Otherwise, the f-string syntax doesn't work.

Note from the Author or Editor:
confirmed. will update for next minor release, probably need to add the deadsnakes ppa to the instructions (as in pre-reqs chapter)

Anonymous  Nov 29, 2017  Mar 02, 2018
CH3
Django’s MVC, URLs, and View Functions

It looks like
from django.core.urlresolvers import resolve

has been replaced as of Django 1.10 with
from django.urls import resolve

The version in the book will still work until 2.0, but might be worth a fix.

See https://docs.djangoproject.com/en/1.11/ref/urlresolvers/

Joshua Hunter  Mar 24, 2017  Aug 02, 2017