Changeset 079859e in mod_gnutls


Ignore:
Timestamp:
Dec 31, 2019, 11:10:43 AM (11 months ago)
Author:
Fiona Klute <fiona.klute@…>
Branches:
asyncio, master, proxy-ticket
Children:
ac516aa
Parents:
2d25c1c
Message:

Fix exception messages for invalid test numbers

File:
1 edited

Legend:

Unmodified
Added
Removed
  • test/runtest.py

    r2d25c1c r079859e  
    4545                        # duplicate numbers are an error
    4646                        raise LookupError('Multiple directories found for '
    47                                           f'test number {args.test_number}: '
     47                                          f'test number {number}: '
    4848                                          f'{found.name} and {entry.name}')
    4949                    else:
     
    5151        if found == None:
    5252            raise LookupError('No test directory found for test number '
    53                               f'{args.test_number}!')
     53                              f'{number}!')
    5454        else:
    5555            return (found.path, found.name)
Note: See TracChangeset for help on using the changeset viewer.