pycdc/tests/input
John Richards 870ecdc430 Handle NaN and infinity values
Right now, NaN/infinity values will produce "nan" and "inf", but
Python doesn't allow those in source code. This change will wrap
those values in float(''), which is allowed.

Tests for Python 2.7 and 3.8 have been added as well.

Fixes #136
2020-10-15 21:04:57 -04:00
..
async_def.py Support 'yield from' (Python 3.3) and await (Python 3.5) expressions. 2019-10-10 10:59:10 -07:00
if_elif_else.py Migrate additional tests which previously didn't have reference source to 2019-10-07 17:06:08 -07:00
iter_unpack.py Migrate additional tests which previously didn't have reference source to 2019-10-07 17:06:08 -07:00
lambdas_assignment.py Migrate additional tests which previously didn't have reference source to 2019-10-07 17:06:08 -07:00
loadbuild_class.py Migrate additional tests which previously didn't have reference source to 2019-10-07 17:06:08 -07:00
matrix_mult_oper.py Migrate additional tests which previously didn't have reference source to 2019-10-07 17:06:08 -07:00
nan_inf.py Handle NaN and infinity values 2020-10-15 21:04:57 -04:00
print_to.py Migrate additional tests which previously didn't have reference source to 2019-10-07 17:06:08 -07:00
private_name.py Unmangle private names ('__' prefix) in class declarations. 2019-10-10 14:47:48 -07:00
simple_const.py Add a new unit test framework that actually checks the output of 2019-10-03 15:33:52 -07:00
test_applyEquiv.py Move equivalent reference sources to the input directory 2019-10-03 22:08:44 -07:00
test_augmentedAssign.py Move equivalent reference sources to the input directory 2019-10-03 22:08:44 -07:00
test_class.py Move test_class.pyc to the new test framwork, and fix tokenization 2019-10-03 17:12:52 -07:00
test_class_method.py Move more tests into the new framework, including current xfails. 2019-10-07 13:38:19 -07:00
test_decorators.py Move equivalent reference sources to the input directory 2019-10-03 22:08:44 -07:00
test_del.py Migrate a couple more passing tests, and handle end-of-line comments 2019-10-03 20:56:52 -07:00
test_dict.py Migrate additional tests which previously didn't have reference source to 2019-10-07 17:06:08 -07:00
test_divide_future.py Move more tests into the new framework, including current xfails. 2019-10-07 13:38:19 -07:00
test_divide_no_future.py Move more tests into the new framework, including current xfails. 2019-10-07 13:38:19 -07:00
test_docstring.py Migrate additional tests which previously didn't have reference source to 2019-10-07 17:06:08 -07:00
test_empty.py Migrate a couple more passing tests, and handle end-of-line comments 2019-10-03 20:56:52 -07:00
test_exceptions.py Move equivalent reference sources to the input directory 2019-10-03 22:08:44 -07:00
test_exec.py Move equivalent reference sources to the input directory 2019-10-03 22:08:44 -07:00
test_expressions.py Move equivalent reference sources to the input directory 2019-10-03 22:08:44 -07:00
test_extendedImport.py Move equivalent reference sources to the input directory 2019-10-03 22:08:44 -07:00
test_extendedPrint.py Move equivalent reference sources to the input directory 2019-10-03 22:08:44 -07:00
test_finally.py Migrate additional tests which previously didn't have reference source to 2019-10-07 17:06:08 -07:00
test_functions.py Move equivalent reference sources to the input directory 2019-10-03 22:08:44 -07:00
test_functions_py3.py Support Python 3.x kw-only arguments. 2019-10-08 11:36:12 -07:00
test_global.py Move equivalent reference sources to the input directory 2019-10-03 22:08:44 -07:00
test_globals.py Move equivalent reference sources to the input directory 2019-10-03 22:08:44 -07:00
test_import.py Move equivalent reference sources to the input directory 2019-10-03 22:08:44 -07:00
test_import_as.py Move equivalent reference sources to the input directory 2019-10-03 22:08:44 -07:00
test_integers.py Move equivalent reference sources to the input directory 2019-10-03 22:08:44 -07:00
test_iterators.py Move equivalent reference sources to the input directory 2019-10-03 22:08:44 -07:00
test_lambda.py Move equivalent reference sources to the input directory 2019-10-03 22:08:44 -07:00
test_listComprehensions.py Move equivalent reference sources to the input directory 2019-10-03 22:08:44 -07:00
test_loops.py Move equivalent reference sources to the input directory 2019-10-03 22:08:44 -07:00
test_loops2.py Migrate several more passing tests to new test framework 2019-10-04 11:05:52 -07:00
test_misc.py Move equivalent reference sources to the input directory 2019-10-03 22:08:44 -07:00
test_nested_elif.py Move equivalent reference sources to the input directory 2019-10-03 22:08:44 -07:00
test_nested_ifs.py Move equivalent reference sources to the input directory 2019-10-03 22:08:44 -07:00
test_nested_scopes.py Move equivalent reference sources to the input directory 2019-10-03 22:08:44 -07:00
test_prettyprint.py Unify test_prettyprint variations and add to passing tests. 2019-10-07 13:42:39 -07:00
test_print.py Move equivalent reference sources to the input directory 2019-10-03 22:08:44 -07:00
test_print_to.py Move equivalent reference sources to the input directory 2019-10-03 22:08:44 -07:00
test_single_stmt.py Move equivalent reference sources to the input directory 2019-10-03 22:08:44 -07:00
test_slices.py Move equivalent reference sources to the input directory 2019-10-03 22:08:44 -07:00
test_tuple_params.py Migrate test_tuple_params to new test framework. 2019-10-07 13:54:46 -07:00
test_tuples.py Move equivalent reference sources to the input directory 2019-10-03 22:08:44 -07:00
test_with.py Move equivalent reference sources to the input directory 2019-10-03 22:08:44 -07:00
test_yield.py Move equivalent reference sources to the input directory 2019-10-03 22:08:44 -07:00
try_except_finally.py Migrate additional tests which previously didn't have reference source to 2019-10-07 17:06:08 -07:00
unicode.py Add tests for unicode/bytes string literals 2019-10-06 13:50:53 -07:00
unicode_future.py Add tests for unicode/bytes string literals 2019-10-06 13:50:53 -07:00
unpack_assign.py Add a test for unpack assignment 2019-10-04 14:33:38 -07:00
while_loop.py Migrate additional tests which previously didn't have reference source to 2019-10-07 17:06:08 -07:00
while_loops2.py Migrate additional tests which previously didn't have reference source to 2019-10-07 17:06:08 -07:00
yield_from.py Support 'yield from' (Python 3.3) and await (Python 3.5) expressions. 2019-10-10 10:59:10 -07:00