~pythonregexp2.7/python/issue2636-24

« back to all changes in this revision

Viewing changes to Lib/test/test_datetime.py

  • Committer: Jeffrey C. "The TimeHorse" Jacobs
  • Date: 2008-09-21 13:47:31 UTC
  • mfrom: (39021.1.404 Regexp-2.7)
  • 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:
986
986
                # compare-by-address (which never says "equal" for distinct
987
987
                # objects).
988
988
                return 0
 
989
            __hash__ = None # Silence Py3k warning
989
990
 
990
991
        # This still errors, because date and datetime comparison raise
991
992
        # TypeError instead of NotImplemented when they don't know what to