From bd2c8b631fcdfc63adcefe0d6cc41fb6c9c21976 Mon Sep 17 00:00:00 2001 From: Markus Unterwaditzer Date: Tue, 30 Dec 2014 12:08:17 +0100 Subject: [PATCH] Fix #1298 --- docs/testing.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/testing.rst b/docs/testing.rst index a6717ce8..5720b84d 100644 --- a/docs/testing.rst +++ b/docs/testing.rst @@ -107,7 +107,7 @@ test method to our class, like this:: def test_empty_db(self): rv = self.app.get('/') - assert 'No entries here so far' in rv.data + assert b'No entries here so far' in rv.data Notice that our test functions begin with the word `test`; this allows :mod:`unittest` to automatically identify the method as a test to run.