Skip to content

Commit

Permalink
Merge pull request #188 from marksomething/patch-1
Browse files Browse the repository at this point in the history
Tiny fix to example code
  • Loading branch information
sigmavirus24 authored Feb 6, 2024
2 parents 8d1dd17 + b494109 commit 4c400ba
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 4c400ba

Please sign in to comment.