[pypy-svn] r61232 - in pypy/trunk/pypy/lib: app_test test2

arigo at codespeak.net arigo at codespeak.net
Thu Jan 22 15:08:24 CET 2009


Author: arigo
Date: Thu Jan 22 15:08:23 2009
New Revision: 61232

Added:
   pypy/trunk/pypy/lib/app_test/test_hashlib.py   (contents, props changed)
Removed:
   pypy/trunk/pypy/lib/test2/test_hashlib.py
Log:
Kill the complicated app-level logic and just run
the test directly.


Added: pypy/trunk/pypy/lib/app_test/test_hashlib.py
==============================================================================
--- (empty file)
+++ pypy/trunk/pypy/lib/app_test/test_hashlib.py	Thu Jan 22 15:08:23 2009
@@ -0,0 +1,4 @@
+from pypy.lib import hashlib, _hashlib
+
+def test_unicode():
+    assert isinstance(hashlib.new('sha1', u'xxx'), _hashlib.hash)



More information about the Pypy-commit mailing list