Author: Armin Rigo <[email protected]>
Branch:
Changeset: r52634:18b924f3d1b0
Date: 2012-02-19 16:33 +0100
http://bitbucket.org/pypy/pypy/changeset/18b924f3d1b0/
Log: This test_datetime doesn't test pypy's own implementation, but just
CPython's. Fix.
diff --git a/pypy/module/test_lib_pypy/test_datetime.py
b/pypy/module/test_lib_pypy/test_datetime.py
--- a/pypy/module/test_lib_pypy/test_datetime.py
+++ b/pypy/module/test_lib_pypy/test_datetime.py
@@ -3,7 +3,7 @@
import py
import time
-import datetime
+from lib_pypy import datetime
import copy
import os
@@ -43,4 +43,4 @@
dt = datetime.datetime.utcnow()
assert type(dt.microsecond) is int
- copy.copy(dt)
\ No newline at end of file
+ copy.copy(dt)
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit