|
| 1 | +Results of doctest builder run on 2014-09-28 16:59:13 |
| 2 | +===================================================== |
| 3 | + |
| 4 | +Document: index |
| 5 | +--------------- |
| 6 | +********************************************************************** |
| 7 | +File "index.rst", line 6, in default |
| 8 | +Failed example: |
| 9 | + main = fb.Surface() |
| 10 | +Expected nothing |
| 11 | +Got: |
| 12 | + surpress debug info |
| 13 | +********************************************************************** |
| 14 | +File "index.rst", line 10, in default |
| 15 | +Failed example: |
| 16 | + sub.blit("../examples/cylon.png") |
| 17 | +Expected: |
| 18 | + 0 |
| 19 | +Got: |
| 20 | + -1 |
| 21 | +********************************************************************** |
| 22 | +File "index.rst", line 10, in default |
| 23 | +Failed example: |
| 24 | + main.clear() |
| 25 | +Exception raised: |
| 26 | + Traceback (most recent call last): |
| 27 | + File "/usr/lib/python2.7/doctest.py", line 1289, in __run |
| 28 | + compileflags, 1) in test.globs |
| 29 | + File "<doctest default[3]>", line 1, in <module> |
| 30 | + main.clear() |
| 31 | + File "/usr/local/lib/python2.7/dist-packages/fbpy/fb.py", line 732, in clear |
| 32 | + self.informdriver() |
| 33 | + File "/usr/local/lib/python2.7/dist-packages/fbpy/fb.py", line 637, in informdriver |
| 34 | + a=fblib.fbsetwinparams( self.origo[0], self.origo[1], self.size[0], self.size[1], |
| 35 | + TypeError: 'NoneType' object has no attribute '__getitem__' |
| 36 | +********************************************************************** |
| 37 | +File "index.rst", line 28, in default |
| 38 | +Failed example: |
| 39 | + sub.addpoly(x1,y1,z1) |
| 40 | +Exception raised: |
| 41 | + Traceback (most recent call last): |
| 42 | + File "/usr/lib/python2.7/doctest.py", line 1289, in __run |
| 43 | + compileflags, 1) in test.globs |
| 44 | + File "<doctest default[12]>", line 1, in <module> |
| 45 | + sub.addpoly(x1,y1,z1) |
| 46 | + File "/usr/local/lib/python2.7/dist-packages/fbpy/fb.py", line 119, in wrapper |
| 47 | + return self(instance, *args, **kwargs) |
| 48 | + File "/usr/local/lib/python2.7/dist-packages/fbpy/fb.py", line 115, in __call__ |
| 49 | + return self.function(*args, **kwargs) |
| 50 | + File "/usr/local/lib/python2.7/dist-packages/fbpy/fb.py", line 904, in addpoly |
| 51 | + return fblib.fbaddpoly(x1,y1,z1) |
| 52 | + File "fblib.pyx", line 325, in fbpy.utils.fblib.fbaddpoly (./fbpy/utils/fblib.c:4146) |
| 53 | + TypeError: fbaddpoly() takes exactly 4 positional arguments (3 given) |
| 54 | +********************************************************************** |
| 55 | +File "index.rst", line 30, in default |
| 56 | +Failed example: |
| 57 | + sub.addpoly(x2,y2,z2) |
| 58 | +Exception raised: |
| 59 | + Traceback (most recent call last): |
| 60 | + File "/usr/lib/python2.7/doctest.py", line 1289, in __run |
| 61 | + compileflags, 1) in test.globs |
| 62 | + File "<doctest default[13]>", line 1, in <module> |
| 63 | + sub.addpoly(x2,y2,z2) |
| 64 | + File "/usr/local/lib/python2.7/dist-packages/fbpy/fb.py", line 119, in wrapper |
| 65 | + return self(instance, *args, **kwargs) |
| 66 | + File "/usr/local/lib/python2.7/dist-packages/fbpy/fb.py", line 115, in __call__ |
| 67 | + return self.function(*args, **kwargs) |
| 68 | + File "/usr/local/lib/python2.7/dist-packages/fbpy/fb.py", line 904, in addpoly |
| 69 | + return fblib.fbaddpoly(x1,y1,z1) |
| 70 | + File "fblib.pyx", line 325, in fbpy.utils.fblib.fbaddpoly (./fbpy/utils/fblib.c:4146) |
| 71 | + TypeError: fbaddpoly() takes exactly 4 positional arguments (3 given) |
| 72 | +********************************************************************** |
| 73 | +File "index.rst", line 32, in default |
| 74 | +Failed example: |
| 75 | + sub.drawpolys() |
| 76 | +Exception raised: |
| 77 | + Traceback (most recent call last): |
| 78 | + File "/usr/lib/python2.7/doctest.py", line 1289, in __run |
| 79 | + compileflags, 1) in test.globs |
| 80 | + File "<doctest default[14]>", line 1, in <module> |
| 81 | + sub.drawpolys() |
| 82 | + File "/usr/local/lib/python2.7/dist-packages/fbpy/fb.py", line 959, in drawpolys |
| 83 | + return fblib.fbdrawpolys() |
| 84 | + TypeError: fbdrawpolys() takes exactly one argument (0 given) |
| 85 | +********************************************************************** |
| 86 | +File "index.rst", line 34, in default |
| 87 | +Failed example: |
| 88 | + sub.trafo.rotate(np.pi/2) |
| 89 | +Expected: |
| 90 | + 0 |
| 91 | +Got nothing |
| 92 | +********************************************************************** |
| 93 | +File "index.rst", line 36, in default |
| 94 | +Failed example: |
| 95 | + sub.drawpolys() |
| 96 | +Exception raised: |
| 97 | + Traceback (most recent call last): |
| 98 | + File "/usr/lib/python2.7/doctest.py", line 1289, in __run |
| 99 | + compileflags, 1) in test.globs |
| 100 | + File "<doctest default[16]>", line 1, in <module> |
| 101 | + sub.drawpolys() |
| 102 | + File "/usr/local/lib/python2.7/dist-packages/fbpy/fb.py", line 959, in drawpolys |
| 103 | + return fblib.fbdrawpolys() |
| 104 | + TypeError: fbdrawpolys() takes exactly one argument (0 given) |
| 105 | +********************************************************************** |
| 106 | +File "index.rst", line 12, in default |
| 107 | +Failed example: |
| 108 | + main.informdriver() |
| 109 | +Exception raised: |
| 110 | + Traceback (most recent call last): |
| 111 | + File "/usr/lib/python2.7/doctest.py", line 1289, in __run |
| 112 | + compileflags, 1) in test.globs |
| 113 | + File "<doctest default[2]>", line 1, in <module> |
| 114 | + main.informdriver() |
| 115 | + File "/usr/local/lib/python2.7/dist-packages/fbpy/fb.py", line 637, in informdriver |
| 116 | + a=fblib.fbsetwinparams( self.origo[0], self.origo[1], self.size[0], self.size[1], |
| 117 | + TypeError: 'NoneType' object has no attribute '__getitem__' |
| 118 | +********************************************************************** |
| 119 | +File "index.rst", line 16, in default |
| 120 | +Failed example: |
| 121 | + sub.printxy((10,10),"Hello world!", 2) |
| 122 | +Expected: |
| 123 | + 0 |
| 124 | +Got: |
| 125 | + 0 |
| 126 | +********************************************************************** |
| 127 | +File "index.rst", line 30, in default |
| 128 | +Failed example: |
| 129 | + sub.grabsilent("./source/images/printxy.png") |
| 130 | +Expected: |
| 131 | + 0 |
| 132 | +Got: |
| 133 | + 0 |
| 134 | +1 items passed all tests: |
| 135 | + 1 tests in >>> import fbpy.fb |
| 136 | +********************************************************************** |
| 137 | +1 items had failures: |
| 138 | + 11 of 88 in default |
| 139 | +89 tests in 2 items. |
| 140 | +78 passed and 11 failed. |
| 141 | +***Test Failed*** 11 failures. |
| 142 | + |
| 143 | +Doctest summary |
| 144 | +=============== |
| 145 | + 89 tests |
| 146 | + 11 failures in tests |
| 147 | + 0 failures in setup code |
| 148 | + 0 failures in cleanup code |
0 commit comments