Skip to content

Commit

Permalink
Fix doctest on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
jaraco committed Feb 19, 2024
1 parent 5e62551 commit 7b3645c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions meza/convert.py
Original file line number Diff line number Diff line change
Expand Up @@ -512,7 +512,7 @@ def to_time(content, time_format=None, warn=False, **kwargs):


def to_filepath(filepath, **kwargs):
"""Creates a filepath from an online resource, i.e., linked file or
r"""Creates a filepath from an online resource, i.e., linked file or
google sheets export.
Args:
Expand All @@ -531,7 +531,7 @@ def to_filepath(filepath, **kwargs):
Examples:
>>> to_filepath('file.csv')
'file.csv'
>>> to_filepath('.', resource_id='rid')
>>> to_filepath('.', resource_id='rid').replace('\\', '/')
'./rid.csv'
"""
isdir = p.isdir(filepath)
Expand Down

0 comments on commit 7b3645c

Please sign in to comment.