Skip to content

Commit

Permalink
Rewrite test to avoid reliance on a /tmp.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaraco committed Sep 25, 2024
1 parent 4329d71 commit f2240d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jaraco/abode/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def override(self, **kwargs: Mapping[str, pathlib.Path]):
Override the default _path variable.
>>> dirs = PlatformDirs(appname='Abode', appauthor=False)
>>> dirs.override(user_data=pathlib.Path('/tmp/foo'))
>>> dirs.override(user_data=getfixture('tmp_path') / 'foo')
>>> 'foo' in str(dirs.user_data)
True
"""
Expand Down

0 comments on commit f2240d6

Please sign in to comment.