Skip to content

Commit

Permalink
Add back pragma when path is not set for ExampleDatabase
Browse files Browse the repository at this point in the history
  • Loading branch information
JonathanPlasse committed Mar 16, 2024
1 parent 1eb565c commit 2dd0fc8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hypothesis-python/src/hypothesis/database.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ def _db_for_path(path=None):
)

path = storage_directory("examples", intent_to_write=False)
if not _usable_dir(path):
if not _usable_dir(path): # pragma: no cover
warnings.warn(
"The database setting is not configured, and the default "
"location is unusable - falling back to an in-memory "
Expand Down

0 comments on commit 2dd0fc8

Please sign in to comment.