Initia QtCore port to python3.
This commit is contained in:
parent
a2cb6fe025
commit
1e29ab6592
52 changed files with 380 additions and 286 deletions
|
|
@ -3,14 +3,18 @@
|
|||
'''Tests QByteArray implementation of Python buffer protocol'''
|
||||
|
||||
import unittest
|
||||
import py3kcompat as py3k
|
||||
|
||||
from os.path import isdir
|
||||
from PySide.QtCore import QByteArray
|
||||
|
||||
|
||||
class QByteArrayBufferProtocolTest(unittest.TestCase):
|
||||
'''Tests QByteArray implementation of Python buffer protocol'''
|
||||
|
||||
def testQByteArrayBufferProtocol(self):
|
||||
if py3k.IS_PY3K:
|
||||
return
|
||||
#Tests QByteArray implementation of Python buffer protocol using the os.path.isdir
|
||||
#function which an unicode object or other object implementing the Python buffer protocol
|
||||
isdir(QByteArray('/tmp'))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue