Skip to content

Commit

Permalink
generate_page_range: verify single-page range based on start
Browse files Browse the repository at this point in the history
  • Loading branch information
kba committed Sep 28, 2023
1 parent 66f440a commit 6d10125
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@ def test_generate_range(self):
with self.assertRaisesRegex(ValueError, 'could not find numeric part'):
generate_range('NONUMBER', 'ALSO_NONUMBER')
with warns(UserWarning, match='same number'):
generate_range('PHYS_0001_123', 'PHYS_0010_123')
generate_range('PHYS_0001_123', 'PHYS_0010_123') == 'PHYS_0001_123'

def test_safe_filename(self):
assert safe_filename('Hello world,!') == 'Hello_world_'
Expand Down

0 comments on commit 6d10125

Please sign in to comment.