Mercurial > p > roundup > code
comparison test/test_hyperdbvals.py @ 4982:9ba03348f923
Remove roundup/anypy/hashlib_.py
The hashlib_ module was being used to provide backwards compatibility
for python v2.4. Roundup has dropped support for python v2.4 so we can
get rid of it.
| author | John Kristensen <john@jerrykan.com> |
|---|---|
| date | Fri, 09 May 2014 17:32:44 +1000 |
| parents | 2ba982dcdf2c |
| children | 364c54991861 |
comparison
equal
deleted
inserted
replaced
| 4981:7f8f27ce1a06 | 4982:9ba03348f923 |
|---|---|
| 7 # This module is distributed in the hope that it will be useful, | 7 # This module is distributed in the hope that it will be useful, |
| 8 # but WITHOUT ANY WARRANTY; without even the implied warranty of | 8 # but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 9 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | 9 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
| 10 | 10 |
| 11 import unittest, os, shutil, errno, sys, difflib, cgi, re | 11 import unittest, os, shutil, errno, sys, difflib, cgi, re |
| 12 from roundup.anypy.hashlib_ import sha1 | 12 from hashlib import sha1 |
| 13 | 13 |
| 14 from roundup import init, instance, password, hyperdb, date | 14 from roundup import init, instance, password, hyperdb, date |
| 15 | 15 |
| 16 class TestClass: | 16 class TestClass: |
| 17 def getprops(self): | 17 def getprops(self): |
