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:
parent
bd43849d5f
commit
6715adb832
2
README
2
README
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue