Ejemplo n.º 1
0
 def runTest(self, mock_show):
     run_example()
     mock_show.assert_called_with()
        shortcut.

DATA
    ERROR_CORRECT_H = 2
    ERROR_CORRECT_L = 1
    ERROR_CORRECT_M = 0
    ERROR_CORRECT_Q = 3


>>> run_example(data='http://www.lincolnloop.com', *args, **kwargs)

Traceback (most recent call last):
  File "<pyshell#10>", line 1, in <module>
    run_example(data='http://www.lincolnloop.com', *args, **kwargs)
NameError: name 'run_example' is not defined
>>> qrcode.run_example(data='http://www.lincolnloop.com', *args, **kwargs)

Traceback (most recent call last):
  File "<pyshell#11>", line 1, in <module>
    qrcode.run_example(data='http://www.lincolnloop.com', *args, **kwargs)
NameError: name 'args' is not defined
>>> qrcode.run_example(data='http://www.lincolnloop.com')
>>> qrcode.run_example(data='http://www.lincolnloop.com')
>>> import theano
WARNING (theano.configdefaults): g++ not available, if using conda: `conda install m2w64-toolchain`

Warning (from warnings module):
  File "C:\Python2764\lib\site-packages\theano\configdefaults.py", line 560
    warnings.warn("DeprecationWarning: there is no c++ compiler."
UserWarning: DeprecationWarning: there is no c++ compiler.This is deprecated and with Theano 0.11 a c++ compiler will be mandatory
WARNING (theano.configdefaults): g++ not detected ! Theano will be unable to execute optimized C-implementations (for both CPU and GPU) and will default to Python implementations. Performance will be severely degraded. To remove this warning, set Theano flags cxx to an empty string.