10
10
qdatetime = QDateTime.currentDateTime()
11
11
qtime = QTime.currentTime()
12
12
qurl = QUrl("http://www.pyside.org")
15
16
myHash[qdatetime] = "QDateTime"
19
21
self.assertEqual(myHash[qdate], "QDate")
20
22
self.assertEqual(myHash[qdatetime], "QDateTime")
21
23
self.assertEqual(myHash[qtime], "QTime")
22
24
self.assertEqual(myHash[qurl], "QUrl")
24
27
def testQPointHash(self):