~pythonregexp2.7/python/issue2636-11

« back to all changes in this revision

Viewing changes to Lib/test/test_list.py

  • Committer: Jeffrey C. "The TimeHorse" Jacobs
  • Date: 2008-09-21 13:47:31 UTC
  • mfrom: (39021.1.404 Regexp-2.7)
  • mto: This revision was merged to the branch mainline in revision 39030.
  • Revision ID: darklord@timehorse.com-20080921134731-rudomuzeh1b2tz1y
Merged in changes from the latest python source snapshot.

Show diffs side-by-side

added added

removed removed

Lines of Context:
15
15
        self.assertEqual(list(''), [])
16
16
        self.assertEqual(list('spam'), ['s', 'p', 'a', 'm'])
17
17
 
18
 
        if sys.maxint == 0x7fffffff:
 
18
        if sys.maxsize == 0x7fffffff:
19
19
            # This test can currently only work on 32-bit machines.
20
20
            # XXX If/when PySequence_Length() returns a ssize_t, it should be
21
21
            # XXX re-enabled.