[pypy-commit] pypy default: This test_datetime doesn't test pypy's own implementation, but just

arigo noreply at buildbot.pypy.org
Sun Feb 19 16:34:28 CET 2012


Author: Armin Rigo <arigo at tunes.org>
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)


More information about the pypy-commit mailing list