[Checkins] SVN: zc.selenium/trunk/ not using unicode, that's a too heavy change. Using str instead since that's
Christian Zagrodnick
cz at gocept.com
Thu Jan 22 08:01:25 EST 2009
Log message for revision 94935:
not using unicode, that's a too heavy change. Using str instead since that's
much closer to the previous behaviour
Changed:
U zc.selenium/trunk/CHANGES.txt
U zc.selenium/trunk/src/zc/selenium/pytest.py
-=-
Modified: zc.selenium/trunk/CHANGES.txt
===================================================================
--- zc.selenium/trunk/CHANGES.txt 2009-01-22 12:49:51 UTC (rev 94934)
+++ zc.selenium/trunk/CHANGES.txt 2009-01-22 13:01:25 UTC (rev 94935)
@@ -8,7 +8,7 @@
- Moved self-test from configure.zcml to tests.zcml to not automatically
include them when zc.selenium is included.
-- pytest's selenium coverts arguments to unicode now. This allows calls like
+- pytest's selenium coverts arguments to strings now. This allows calls like
``self.selenium.pause(500)``.
1.1.0 (2009-01-19)
Modified: zc.selenium/trunk/src/zc/selenium/pytest.py
===================================================================
--- zc.selenium/trunk/src/zc/selenium/pytest.py 2009-01-22 12:49:51 UTC (rev 94934)
+++ zc.selenium/trunk/src/zc/selenium/pytest.py 2009-01-22 13:01:25 UTC (rev 94935)
@@ -104,7 +104,7 @@
comment_arg1 = ('%s:%s <span class="longpath">%s:%d</span>' %
(base, frame.f_lineno, filename, frame.f_lineno))
self.raw('comment', comment_arg1, '', cssClass='lineinfo')
- self.raw(self.__name__, escape(unicode(arg1)), escape(unicode(arg2)),
+ self.raw(self.__name__, escape(str(arg1)), escape(str(arg2)),
self.cssClass)
def raw(self, name, arg1, arg2, cssClass):
More information about the Checkins
mailing list