summaryrefslogtreecommitdiff
path: root/tests/test_general.py
Commit message (Collapse)AuthorAgeFilesLines
* Fix Flake8 Errors (#442)Eisuke Kawashima2021-10-151-1/+0
| | | | | | | | | * Fix PEP8 [E101](https://github.com/PyCQA/pycodestyle/blob/2.8.0/docs/intro.rst#error-codes) * Fix PEP8 [E711](https://github.com/PyCQA/pycodestyle/blob/2.8.0/docs/intro.rst#error-codes) * Fix E999 (python2) * Fix PEP8 [F401](https://flake8.pycqa.org/en/4.0.1/user/error-codes.html)
* Introduce partial C11 support (#429)Vitaly Cheptsov2021-08-311-15/+16
| | | | | | | | | | * Introduce partial C11 support Implemented _Noreturn, _Static_assert, _Thread_local. Also fixed tests with preprocessor on macOS. * Add more tests Co-authored-by: vit9696 <vit9696@users.noreply.github.com>
* Use more specific assertIsInstance in tests (#268)Jon Dufresne2018-06-261-5/+5
| | | | | | | | | | | | | | | | | | When running tests with Python warnings enabled, warnings of the following form appear: DeprecationWarning: Please use assertTrue instead. self.failUnless(isinstance(...)) Use assertIsInstance instead to fix these warnings. Using a more specific assert also has the advantage of more informative error reporting upon failure. https://docs.python.org/3/library/unittest.html#unittest.TestCase.assertTrue > This method should also be avoided when more specific methods are > available (e.g. assertEqual(a, b) instead of assertTrue(a == b)), > because they provide a better error message in case of failure.
* Conditinally skipping cpp-using tests unless platform is LinuxEli Bendersky2017-04-211-1/+9
|
* Wipe out more mentions of lcc's cppEli Bendersky2015-05-181-2/+1
|
* Clean up whitespace in test codeEli Bendersky2013-12-261-5/+0
|
* Locate test data from __file__Stefano Rivera2013-08-081-15/+13
| | | | | | Find c_files and fake_libc_include from __file__ of the unit test, rather than expecting the test suite to be run from a particular directory.
* finalize issue 74 fixEli Bendersky2012-08-101-0/+4
|
* failing test for windowsEli Bendersky2012-08-101-4/+11
|
* Issue 68Eli Bendersky2012-07-071-0/+4
|
* make test_general.py succeed also when run from the tests/ dirEli Bendersky2012-03-141-1/+3
|
* adaptations to execute tests successfully on Windows from the root direli.bendersky2012-01-201-1/+2
|
* made testing scripts runnable from root dir + added tox.iniEli Bendersky2012-01-191-7/+19
|
* some changes to run tests on linuxEli Bendersky2011-10-161-34/+34
|
* initial import from SVNEli Bendersky2010-05-211-0/+37