Fix print in README

Python 3 tests were failing on the improper usage of print in the README
examples. Print must be used as a method in Python 3.
This commit is contained in:
Andrew Laski 2016-03-22 15:40:57 -04:00
parent bd43849d5f
commit 6715adb832
1 changed files with 1 additions and 1 deletions

2
README
View File

@ -151,7 +151,7 @@ You can also combine existing fixtures using ``CompoundFixture``::
>>> noddy_with_log = fixtures.CompoundFixture([NoddyFixture(),
... WithLog()])
>>> with noddy_with_log as x:
... print x.fixtures[0].frobnozzle
... print (x.fixtures[0].frobnozzle)
42
The Fixture API