[Buildbot-commits] [djmitche/buildbot] dd62a6: Test: remove 'substring in string' workaround for ...

noreply at github.com noreply at github.com
Fri Jan 29 20:30:36 UTC 2010


Branch: refs/heads/master
Home:   http://github.com/djmitche/buildbot

Commit: dd62a6476bb66e7faad00dbec5f82f576f0cafee
    http://github.com/djmitche/buildbot/commit/dd62a6476bb66e7faad00dbec5f82f576f0cafee
Author: Kovarththanan Rajaratnam <kovarththanan.rajaratnam at gmail.com>
Date:   2010-01-29 (Fri, 29 Jan 2010)

Changed paths:
  M buildbot/test/test_p4poller.py
  M buildbot/test/test_runner.py
  M buildbot/test/test_slavecommand.py
  M buildbot/test/test_status.py
  M buildbot/test/test_twisted.py
  M buildbot/test/test_vc.py
  M buildbot/test/test_web.py

Log Message:
-----------
Test: remove 'substring in string' workaround for < 2.3

We now require Python 2.4 and the Python docs states the following:

"..When s is a string or Unicode string object the in and not in operations act like a substring test. In Python versions before 2.3, x  had to be a string of length 1. In Python 2.3 and beyond, x may be a string of any length.."






More information about the Commits mailing list