[Python-checkins] r74122 - sandbox/trunk/2to3/lib2to3/tests/test_fixers.py

benjamin.peterson python-checkins at python.org
Mon Jul 20 22:44:15 CEST 2009


Author: benjamin.peterson
Date: Mon Jul 20 22:44:14 2009
New Revision: 74122
Log:
platform compat
Modified:
 sandbox/trunk/2to3/lib2to3/tests/test_fixers.py
Modified: sandbox/trunk/2to3/lib2to3/tests/test_fixers.py
==============================================================================
--- sandbox/trunk/2to3/lib2to3/tests/test_fixers.py	(original)
+++ sandbox/trunk/2to3/lib2to3/tests/test_fixers.py	Mon Jul 20 22:44:14 2009
@@ -3556,7 +3556,7 @@
 b = "import bar"
 a = "from . import bar"
 self.always_exists = False
- self.present_files = set(["__init__.py", "bar/"])
+ self.present_files = set(["__init__.py", "bar" + os.path.sep])
 self.check(b, a)
 
 def test_comments_and_indent(self):


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /