Skip to content

Commit

Permalink
Tiny fix to example code
Browse files Browse the repository at this point in the history
  • Loading branch information
marksomething authored Aug 7, 2020
1 parent 2c12cee commit b494109
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/source/api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -191,8 +191,8 @@ cassettes. In this case, you can do:
session = Session()
with Betamax.configure() as config:
c.cassette_library_dir = '.'
c.preserve_exact_body_bytes = True
config.cassette_library_dir = '.'
config.preserve_exact_body_bytes = True
with Betamax(session).use_cassette('some_cassette'):
r = session.get('http://example.com')

0 comments on commit b494109

Please sign in to comment.