/usr/share/pyshared/mx/DateTime/mxDateTime/testcoerce.py is in python-egenix-mxdatetime 3.2.1-1ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 | from mx.DateTime import ISO
class AnyClass:
pass
date = ISO.ParseDateTime('2002-01-01 00:00:00')
anyclass = AnyClass()
if date == anyclass: print "Should not compare equal ?!"
else: print "Works."
|