[Zope3-checkins] CVS: Zope3/src/zodb/code/tests - test_module.py:1.1.2.3

Guido van Rossum guido@python.org
Tue, 24 Dec 2002 11:24:26 -0500


Update of /cvs-repository/Zope3/src/zodb/code/tests
In directory cvs.zope.org:/tmp/cvs-serv4007

Modified Files:
      Tag: NameGeddon-branch
	test_module.py 
Log Message:
Fix the import of 'tests' (this package), used to get __file__.


=== Zope3/src/zodb/code/tests/test_module.py 1.1.2.2 => 1.1.2.3 ===
--- Zope3/src/zodb/code/tests/test_module.py:1.1.2.2	Mon Dec 23 17:44:55 2002
+++ Zope3/src/zodb/code/tests/test_module.py	Tue Dec 24 11:24:25 2002
@@ -22,7 +22,8 @@
 from zodb.code.module import \
      PersistentModuleManager, PersistentModuleRegistry, \
      PersistentModuleImporter, PersistentPackage
-from persistence import tests
+
+from zodb.code import tests # import this package, to get at __file__ reliably
 
 from transaction import get_transaction