Source

pygame / test / base_test.py

Author Commit Message Labels Comments Date
Lenard Lindstrom
Fix Python 3.x compatibility issue introduced in changeset f7a9049e3b31
Lenard Lindstrom
Fix handling of new buffer format verification in base.c The format '1x' was not recognized (a bug accidently introduced in changeset 0ecf23052547). Also allow an item count prefix of '1' for other supported formats. In the process, clean up and add comments to the format checking code. Finally, add further format checking unit tests to base_test.py.
Lenard Lindstrom
fix a new buffer format bug involving an item count of 1
Lenard Lindstrom
Remove some trailing white space and tabs
Lenard Lindstrom
Remove redundant prefix from buftools.BufferImporter and BufferExporter
Lenard Lindstrom
More work to get the PyBUF_* flags handling right
Lenard Lindstrom
rename pygame.tests.test_utils.array to avoid import conflicts For Python 2.7, the pygame.tests.test_utils.png module would import the local array Python module instead of the builtin standard library array module, as intended. The new name 'buftools' is more descriptive and does not match any Python library module names.
Lenard Lindstrom
Add PyBUF_* flag to the PgObject_GetBuffer C api function for dict buffers The PgObject_GetBuffer Pygame C api function, in pygame.base, now properly handles the buffer request flags passed to it for an exporting object with a Python level array interface. The changes are made in PgDict_AsBuffer, another C api function. These changes effect all Pygame types and functions that import a buffer, since they all use these api functions.
Lenard Lindstrom
Test PgObject_GetBuffer raises the correct exception: ref f05e97dd6fb9
Lenard Lindstrom
Let PgObject_GetBuffer check for an array struct after a bad array interface The PgObject_GetBuffer C api function would return with an exception if an object had a __array_struct__ property that failed to return a wrapped PyArrayInterface struct. Now it clears any exceptions and continues on to check for an array interface. As a side benefit, PgObject_GetBuffer no longer uses PyObject_HasAttrString, which calls PyObject_GetAttrString and discards the returned object. Thi…
Lenard Lindstrom
Fix surface locking problems; point save Still work to be done with BufferProxy and Surface.get_buffer.
Lenard Lindstrom
disable building of modules altered in fsencoding branch to try and discover where the Mac GCC build error is.
Lenard Lindstrom
fix transform.threshold bug involving a long threshold
Lenard Lindstrom
try to allow scrap test in base_test.py on non-OS X platforms
Lenard Lindstrom
just skip the scrap not-init test completely; Figure out how to test for OS X later
Lenard Lindstrom
just skip the not-init tests for OS X
Lenard Lindstrom
try again with OS X and base_test.py
Lenard Lindstrom
OS X problem with base_test.py isolated to scrap module. Try a temporary workaround
Lenard Lindstrom
OS X now passes tests. See if the problem in base_test.py is with scrap
Lenard Lindstrom
more OS X testing of base_test.py
Lenard Lindstrom
yet more OS X testing with base_test.py
Lenard Lindstrom
why does base_test.py fail on OS X?
Lenard Lindstrom
make scrap test in base_test.py conditional on the presence of scrap
Lenard Lindstrom
clean up METH_NOARG functions which were accidently given a second C argument in display.c
Lenard Lindstrom
merging with python3 branch r 2048
Lenard Lindstrom
test suite now pygame.tests subpackage as well
akalias
Made all unimplemented tests use todo_test_xxxx naming and updated the __doc__'s. Run's only implemented tests by default.
akalias
made trunk/test a package, added in python2.5 version of unittest as test.unittest.
akalias
disabling pygame.init/quit test that broke mac build while investigating
akalias
Some more init tests
  1. Prev
  2. 1
  3. 2
  4. Next