Skip to content

Commit

Permalink
Merge pull request #84 from nicwest/nicwest-patch-1
Browse files Browse the repository at this point in the history
Remove invalid python from read me
  • Loading branch information
offbyone authored Oct 29, 2018
2 parents 20a0d72 + d1a98b8 commit 75b4f7b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ This is the test we want to write:
.. code:: python
def testDateIsOnASaturday(self):
d = datetime.date(2008, 04, 26)
d = datetime.date(2008, 4, 26)
assert_that(d, is_(on_a_saturday()))
And here's the implementation:
Expand Down Expand Up @@ -271,7 +271,7 @@ failure message looks:

.. code:: python
assert_that(datetime.date(2008, 04, 06), is_(on_a_saturday()))
assert_that(datetime.date(2008, 4, 6), is_(on_a_saturday()))
fails with the message::

Expand All @@ -290,7 +290,7 @@ could use it in our test by importing the factory function ``on_a_saturday``:
class DateTest(unittest.TestCase):
def testDateIsOnASaturday(self):
d = datetime.date(2008, 04, 26)
d = datetime.date(2008, 4, 26)
assert_that(d, is_(on_a_saturday()))
if __name__ == '__main__':
Expand Down

0 comments on commit 75b4f7b

Please sign in to comment.