| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
This ensures that the tests fail if 100% branch coverage is not
achieved. It also adds some pragma statements for code that cannot be
covered or is Python version dependent.
Furthermore, the get_module_list() function was removed from stdnum.util
and more tests were made from stdnum.util and stdnum.numdb. The
functionality to call format() in a country-specific IBAN implementation
was also dropped because it was not used.
|
| |
|
|
|
|
|
|
|
| |
This ensures that the file is explicitly closed in the function to avoid
"unclosed file" warnings.
See: https://github.com/arthurdejong/python-stdnum/issues/33
|
|
|
|
|
|
|
| |
Ensure that regular expressions are r'' strings, avoid too long lines
and fix line wrapping. Also avoid catching toplevel Exception when
possible and use binascii for hex to binary conversion which is
available in both Python 2 and 3.
|
|
|
|
| |
This places the test database file in the tests directory.
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
usable format
git-svn-id: http://arthurdejong.org/svn/python-stdnum/python-stdnum@165 9dea7c4f-944c-4273-ac1a-574ede026edc
|
|
|
|
| |
git-svn-id: http://arthurdejong.org/svn/python-stdnum/python-stdnum@158 9dea7c4f-944c-4273-ac1a-574ede026edc
|
|
|
|
|
|
| |
expected to be covered
git-svn-id: http://arthurdejong.org/svn/python-stdnum/python-stdnum@156 9dea7c4f-944c-4273-ac1a-574ede026edc
|
|
|
|
| |
git-svn-id: http://arthurdejong.org/svn/python-stdnum/python-stdnum@76 9dea7c4f-944c-4273-ac1a-574ede026edc
|
|
|
|
| |
git-svn-id: http://arthurdejong.org/svn/python-stdnum/python-stdnum@69 9dea7c4f-944c-4273-ac1a-574ede026edc
|
|
|
|
| |
git-svn-id: http://arthurdejong.org/svn/python-stdnum/python-stdnum@60 9dea7c4f-944c-4273-ac1a-574ede026edc
|
|
|
|
| |
git-svn-id: http://arthurdejong.org/svn/python-stdnum/python-stdnum@50 9dea7c4f-944c-4273-ac1a-574ede026edc
|
|
|
|
|
|
| |
return the part that is in the database
git-svn-id: http://arthurdejong.org/svn/python-stdnum/python-stdnum@49 9dea7c4f-944c-4273-ac1a-574ede026edc
|
|
|
|
| |
git-svn-id: http://arthurdejong.org/svn/python-stdnum/python-stdnum@47 9dea7c4f-944c-4273-ac1a-574ede026edc
|
|
hierarchically organised numbers and switch the isbn module to use this format instead
git-svn-id: http://arthurdejong.org/svn/python-stdnum/python-stdnum@42 9dea7c4f-944c-4273-ac1a-574ede026edc
|