Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Issue #22340: Fix Python 3 warnings in Python 2 tests | Victor Stinner | 2014-09-05 | 1 | -7/+9 |
| | |||||
* | this file now has utf-8 chars | Benjamin Peterson | 2014-05-11 | 1 | -0/+2 |
| | |||||
* | backport hmac.compare_digest to partially implement PEP 466 (closes #21306) | Benjamin Peterson | 2014-05-11 | 1 | -1/+111 |
| | | | | Backport from Alex Gaynor. | ||||
* | Replace catch_warnings with check_warnings when it makes sense. Use ↵ | Florent Xicluna | 2010-03-31 | 1 | -8/+2 |
| | | | | assertRaises context manager to simplify some tests. | ||||
* | convert usage of fail* to assert* | Benjamin Peterson | 2009-06-30 | 1 | -9/+9 |
| | |||||
* | warnings.catch_warnings() now returns a list or None instead of the custom | Brett Cannon | 2008-09-09 | 1 | -1/+1 |
| | | | | | | | | WarningsRecorder object. This makes the API simpler to use as no special object must be learned. Closes issue 3781. Review by Benjamin Peterson. | ||||
* | Make sure that the warnings filter is not reset or changed beyond the current | Brett Cannon | 2008-03-19 | 1 | -4/+2 |
| | | | | | | running test file. Closes issue2407. Thanks Jerry Seutter. | ||||
* | Fixes Issue 1385: The hmac module now computes the correct hmac when using | Gregory P. Smith | 2007-11-06 | 1 | -5/+159 |
| | | | | hashes with a block size other than 64 bytes (such as sha384 and sha512). | ||||
* | Have the sha module raise a DeprecationWarning as specified in PEP 4. | Brett Cannon | 2007-05-31 | 1 | -5/+5 |
| | |||||
* | [ sf.net patch # 1121611 ] | Gregory P. Smith | 2005-08-21 | 1 | -4/+5 |
| | | | | | | | | | A new hashlib module to replace the md5 and sha modules. It adds support for additional secure hashes such as SHA-256 and SHA-512. The hashlib module uses OpenSSL for fast platform optimized implementations of algorithms when available. The old md5 and sha modules still exist as wrappers around hashlib to preserve backwards compatibility. | ||||
* | Add more tests from RFC 2202. | Jeremy Hylton | 2003-05-27 | 1 | -2/+55 |
| | |||||
* | Combine the functionality of test_support.run_unittest() | Walter Dörwald | 2003-05-01 | 1 | -6/+6 |
| | | | | | | | | | | and test_support.run_classtests() into run_unittest() and use it wherever possible. Also don't use "from test.test_support import ...", but "from test import test_support" in a few spots. From SF patch #662807. | ||||
* | Standardize behavior: no docstrings in test functions; create a single | Guido van Rossum | 2002-08-22 | 1 | -13/+19 |
| | | | | suite merging all test cases. | ||||
* | Get rid of relative imports in all unittests. Now anything that | Barry Warsaw | 2002-07-23 | 1 | -1/+1 |
| | | | | | | | | | | | imports e.g. test_support must do so using an absolute package name such as "import test.test_support" or "from test import test_support". This also updates the README in Lib/test, and gets rid of the duplicate data dirctory in Lib/test/data (replaced by Lib/email/test/data). Now Tim and Jack can have at it. :) | ||||
* | Use attributes appropriately | Neal Norwitz | 2002-04-01 | 1 | -1/+1 |
| | |||||
* | Whitespace normalization. | Tim Peters | 2001-11-13 | 1 | -2/+1 |
| | |||||
* | [Patch #477336] Add an extensive PyUnit based testsuite for the hmac | Andrew M. Kuchling | 2001-11-02 | 1 | -1/+108 |
| | | | | module | ||||
* | Test for new hmac module. | Guido van Rossum | 2001-09-11 | 1 | -0/+2 |