blob: 3a246145a84c3038c4e13550af5e6344b7f4227e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
import unittest
from PySide.QtCore import *
from PySide.QtScript import *
class QScriptValueTest(unittest.TestCase):
def testQScriptValue(self):
app = QCoreApplication([])
engine = QScriptEngine()
repr(engine.evaluate('1 + 1'))
if __name__ == '__main__':
unittest.main()
|