Author: Amaury Forgeot d'Arc <[email protected]>
Branch: py3k
Changeset: r59201:8ab0bba2d5d1
Date: 2012-12-01 23:42 +0100
http://bitbucket.org/pypy/pypy/changeset/8ab0bba2d5d1/
Log: PyPy has no _datetime, let the tests run with pure Python datetime.
diff --git a/lib-python/3.2/test/test_datetime.py
b/lib-python/3.2/test/test_datetime.py
--- a/lib-python/3.2/test/test_datetime.py
+++ b/lib-python/3.2/test/test_datetime.py
@@ -23,6 +23,8 @@
test_classes = []
for module, suffix in zip(test_modules, test_suffixes):
+ if module is None:
+ continue
for name, cls in module.__dict__.items():
if not (isinstance(cls, type) and issubclass(cls, unittest.TestCase)):
continue
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit