pycdc/tests/compiled
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.3.5.pyc Support 'yield from' (Python 3.3) and await (Python 3.5) expressions. 2019-10-10 10:59:10 -07:00
if_elif_else.1.5.pyc Migrate additional tests which previously didn't have reference source to 2019-10-07 17:06:08 -07:00
if_elif_else.2.2.pyc Migrate additional tests which previously didn't have reference source to 2019-10-07 17:06:08 -07:00
if_elif_else.2.6.pyc Migrate additional tests which previously didn't have reference source to 2019-10-07 17:06:08 -07:00
if_elif_else.2.7.pyc Migrate additional tests which previously didn't have reference source to 2019-10-07 17:06:08 -07:00
if_elif_else.3.0.pyc Migrate additional tests which previously didn't have reference source to 2019-10-07 17:06:08 -07:00
if_elif_else.3.7.pyc Migrate additional tests which previously didn't have reference source to 2019-10-07 17:06:08 -07:00
iter_unpack.2.7.pyc Migrate additional tests which previously didn't have reference source to 2019-10-07 17:06:08 -07:00
lambdas_assignment.2.7.pyc Migrate additional tests which previously didn't have reference source to 2019-10-07 17:06:08 -07:00
loadbuild_class.3.4.pyc Handle Python 3.3's automatic __qualname__ assignment. 2019-10-08 08:53:53 -07:00
matrix_mult_oper.3.5.pyc Fix non-inplace matrix multiplication operator. 2019-10-10 11:47:48 -07:00
nan_inf.2.7.pyc Handle NaN and infinity values 2020-10-15 21:04:57 -04:00
nan_inf.3.8.pyc Handle NaN and infinity values 2020-10-15 21:04:57 -04:00
print_to.2.7.pyc Migrate additional tests which previously didn't have reference source to 2019-10-07 17:06:08 -07:00
private_name.1.5.pyc Unmangle private names ('__' prefix) in class declarations. 2019-10-10 14:47:48 -07:00
private_name.2.2.pyc Unmangle private names ('__' prefix) in class declarations. 2019-10-10 14:47:48 -07:00
private_name.2.5.pyc Unmangle private names ('__' prefix) in class declarations. 2019-10-10 14:47:48 -07:00
private_name.2.7.pyc Unmangle private names ('__' prefix) in class declarations. 2019-10-10 14:47:48 -07:00
simple_const.1.0.pyc Add a new unit test framework that actually checks the output of 2019-10-03 15:33:52 -07:00
simple_const.1.1.pyc Add a new unit test framework that actually checks the output of 2019-10-03 15:33:52 -07:00
simple_const.1.2.pyc Add a new unit test framework that actually checks the output of 2019-10-03 15:33:52 -07:00
simple_const.1.3.pyc Add a new unit test framework that actually checks the output of 2019-10-03 15:33:52 -07:00
simple_const.1.4.pyc Add a new unit test framework that actually checks the output of 2019-10-03 15:33:52 -07:00
simple_const.1.5.pyc Add a new unit test framework that actually checks the output of 2019-10-03 15:33:52 -07:00
simple_const.1.6.pyc Add a new unit test framework that actually checks the output of 2019-10-03 15:33:52 -07:00
simple_const.2.0.pyc Add a new unit test framework that actually checks the output of 2019-10-03 15:33:52 -07:00
simple_const.2.1.pyc Add a new unit test framework that actually checks the output of 2019-10-03 15:33:52 -07:00
simple_const.2.2.pyc Add a new unit test framework that actually checks the output of 2019-10-03 15:33:52 -07:00
simple_const.2.3.pyc Add a new unit test framework that actually checks the output of 2019-10-03 15:33:52 -07:00
simple_const.2.4.pyc Add a new unit test framework that actually checks the output of 2019-10-03 15:33:52 -07:00
simple_const.2.5.pyc Add a new unit test framework that actually checks the output of 2019-10-03 15:33:52 -07:00
simple_const.2.6.pyc Add a new unit test framework that actually checks the output of 2019-10-03 15:33:52 -07:00
simple_const.2.7.pyc Add a new unit test framework that actually checks the output of 2019-10-03 15:33:52 -07:00
simple_const.3.0.pyc Add a new unit test framework that actually checks the output of 2019-10-03 15:33:52 -07:00
simple_const.3.1.pyc Add a new unit test framework that actually checks the output of 2019-10-03 15:33:52 -07:00
simple_const.3.2.pyc Add a new unit test framework that actually checks the output of 2019-10-03 15:33:52 -07:00
simple_const.3.3.pyc Add a new unit test framework that actually checks the output of 2019-10-03 15:33:52 -07:00
simple_const.3.4.pyc Add a new unit test framework that actually checks the output of 2019-10-03 15:33:52 -07:00
simple_const.3.5.pyc Add a new unit test framework that actually checks the output of 2019-10-03 15:33:52 -07:00
simple_const.3.6.pyc Add a new unit test framework that actually checks the output of 2019-10-03 15:33:52 -07:00
simple_const.3.7.pyc Add a new unit test framework that actually checks the output of 2019-10-03 15:33:52 -07:00
test_applyEquiv.2.2.pyc Fix applyEquiv test by writing the correct name from the call object. 2019-10-08 11:44:52 -07:00
test_applyEquiv.2.5.pyc Fix applyEquiv test by writing the correct name from the call object. 2019-10-08 11:44:52 -07:00
test_class.1.5.pyc Move test_class.pyc to the new test framwork, and fix tokenization 2019-10-03 17:12:52 -07:00
test_class.2.2.pyc Move test_class.pyc to the new test framwork, and fix tokenization 2019-10-03 17:12:52 -07:00
test_class.2.5.pyc Move test_class.pyc to the new test framwork, and fix tokenization 2019-10-03 17:12:52 -07:00
test_class_method.2.2.pyc Move more tests into the new framework, including current xfails. 2019-10-07 13:38:19 -07:00
test_class_method.2.5.pyc Move more tests into the new framework, including current xfails. 2019-10-07 13:38:19 -07:00
test_del.1.5.pyc Migrate a couple more passing tests, and handle end-of-line comments 2019-10-03 20:56:52 -07:00
test_del.2.2.pyc Migrate a couple more passing tests, and handle end-of-line comments 2019-10-03 20:56:52 -07:00
test_del.2.5.pyc Migrate a couple more passing tests, and handle end-of-line comments 2019-10-03 20:56:52 -07:00
test_dict.2.7.pyc Migrate additional tests which previously didn't have reference source to 2019-10-07 17:06:08 -07:00
test_divide_future.2.2.pyc Move more tests into the new framework, including current xfails. 2019-10-07 13:38:19 -07:00
test_divide_future.2.5.pyc Move more tests into the new framework, including current xfails. 2019-10-07 13:38:19 -07:00
test_divide_no_future.2.2.pyc Move more tests into the new framework, including current xfails. 2019-10-07 13:38:19 -07:00
test_divide_no_future.2.5.pyc Move more tests into the new framework, including current xfails. 2019-10-07 13:38:19 -07:00
test_docstring.1.5.pyc Migrate additional tests which previously didn't have reference source to 2019-10-07 17:06:08 -07:00
test_docstring.2.2.pyc Migrate additional tests which previously didn't have reference source to 2019-10-07 17:06:08 -07:00
test_docstring.2.5.pyc Migrate additional tests which previously didn't have reference source to 2019-10-07 17:06:08 -07:00
test_docstring.2.7.pyc Migrate additional tests which previously didn't have reference source to 2019-10-07 17:06:08 -07:00
test_empty.1.5.pyc Don't emit a 'pass' statement on an empty top-level module code object 2019-10-08 09:04:41 -07:00
test_empty.2.2.pyc Don't emit a 'pass' statement on an empty top-level module code object 2019-10-08 09:04:41 -07:00
test_empty.2.5.pyc Don't emit a 'pass' statement on an empty top-level module code object 2019-10-08 09:04:41 -07:00
test_empty.2.7.pyc Don't emit a 'pass' statement on an empty top-level module code object 2019-10-08 09:04:41 -07:00
test_empty.3.0.pyc Don't emit a 'pass' statement on an empty top-level module code object 2019-10-08 09:04:41 -07:00
test_empty.3.7.pyc Don't emit a 'pass' statement on an empty top-level module code object 2019-10-08 09:04:41 -07:00
test_exec.1.5.pyc Migrate several more passing tests to new test framework 2019-10-04 11:05:52 -07:00
test_exec.2.2.pyc Migrate several more passing tests to new test framework 2019-10-04 11:05:52 -07:00
test_exec.2.5.pyc Migrate several more passing tests to new test framework 2019-10-04 11:05:52 -07:00
test_expressions.1.5.pyc Migrate several more passing tests to new test framework 2019-10-04 11:05:52 -07:00
test_expressions.2.2.pyc Migrate several more passing tests to new test framework 2019-10-04 11:05:52 -07:00
test_expressions.2.5.pyc Migrate several more passing tests to new test framework 2019-10-04 11:05:52 -07:00
test_extendedImport.2.2.pyc Migrate several more passing tests to new test framework 2019-10-04 11:05:52 -07:00
test_extendedImport.2.5.pyc Migrate several more passing tests to new test framework 2019-10-04 11:05:52 -07:00
test_extendedPrint.2.2.pyc Migrate several more passing tests to new test framework 2019-10-04 11:05:52 -07:00
test_extendedPrint.2.5.pyc Migrate several more passing tests to new test framework 2019-10-04 11:05:52 -07:00
test_extendedPrint.2.7.pyc Merge print nodes in the AST rather than attempting to manage it during 2019-10-09 14:20:46 -07:00
test_functions_py3.3.0.pyc Support Python 3.x kw-only arguments. 2019-10-08 11:36:12 -07:00
test_functions_py3.3.4.pyc Support Python 3.x kw-only arguments. 2019-10-08 11:36:12 -07:00
test_global.1.5.pyc Migrate several more passing tests to new test framework 2019-10-04 11:05:52 -07:00
test_global.2.2.pyc Migrate several more passing tests to new test framework 2019-10-04 11:05:52 -07:00
test_global.2.5.pyc Migrate several more passing tests to new test framework 2019-10-04 11:05:52 -07:00
test_globals.1.5.pyc Migrate several more passing tests to new test framework 2019-10-04 11:05:52 -07:00
test_globals.2.2.pyc Migrate several more passing tests to new test framework 2019-10-04 11:05:52 -07:00
test_globals.2.5.pyc Migrate several more passing tests to new test framework 2019-10-04 11:05:52 -07:00
test_import_as.2.2.pyc Migrate several more passing tests to new test framework 2019-10-04 11:05:52 -07:00
test_import_as.2.5.pyc Migrate several more passing tests to new test framework 2019-10-04 11:05:52 -07:00
test_integers.1.5.pyc Move more tests into the new framework, including current xfails. 2019-10-07 13:38:19 -07:00
test_integers.2.2.pyc Move more tests into the new framework, including current xfails. 2019-10-07 13:38:19 -07:00
test_integers.2.5.pyc Move more tests into the new framework, including current xfails. 2019-10-07 13:38:19 -07:00
test_iterators.2.2.pyc Migrate several more passing tests to new test framework 2019-10-04 11:05:52 -07:00
test_iterators.2.5.pyc Migrate several more passing tests to new test framework 2019-10-04 11:05:52 -07:00
test_listComprehensions.2.7.pyc Port Python 2.7 list comprehension fixes by @ReDucTor from #78 2019-10-04 16:35:58 -07:00
test_loops2.2.2.pyc Don't emit statements for null values on the stack. 2019-10-10 10:26:19 -07:00
test_misc.1.5.pyc Migrate several more passing tests to new test framework 2019-10-04 11:05:52 -07:00
test_misc.2.2.pyc Migrate several more passing tests to new test framework 2019-10-04 11:05:52 -07:00
test_misc.2.5.pyc Migrate several more passing tests to new test framework 2019-10-04 11:05:52 -07:00
test_nested_elif.1.5.pyc Migrate several more passing tests to new test framework 2019-10-04 11:05:52 -07:00
test_nested_elif.2.2.pyc Migrate several more passing tests to new test framework 2019-10-04 11:05:52 -07:00
test_nested_elif.2.5.pyc Migrate several more passing tests to new test framework 2019-10-04 11:05:52 -07:00
test_nested_ifs.2.5.pyc Migrate several more passing tests to new test framework 2019-10-04 11:05:52 -07:00
test_prettyprint.1.5.pyc Unify test_prettyprint variations and add to passing tests. 2019-10-07 13:42:39 -07:00
test_prettyprint.2.2.pyc Unify test_prettyprint variations and add to passing tests. 2019-10-07 13:42:39 -07:00
test_prettyprint.2.5.pyc Unify test_prettyprint variations and add to passing tests. 2019-10-07 13:42:39 -07:00
test_print.1.5.pyc Migrate several more passing tests to new test framework 2019-10-04 11:05:52 -07:00
test_print.2.2.pyc Migrate several more passing tests to new test framework 2019-10-04 11:05:52 -07:00
test_print.2.5.pyc Migrate several more passing tests to new test framework 2019-10-04 11:05:52 -07:00
test_print_to.2.2.pyc Migrate several more passing tests to new test framework 2019-10-04 11:05:52 -07:00
test_print_to.2.5.pyc Migrate several more passing tests to new test framework 2019-10-04 11:05:52 -07:00
test_print_to.2.7.pyc Migrate additional tests which previously didn't have reference source to 2019-10-07 17:06:08 -07:00
test_single_stmt.1.5.pyc Migrate several more passing tests to new test framework 2019-10-04 11:05:52 -07:00
test_single_stmt.2.2.pyc Migrate several more passing tests to new test framework 2019-10-04 11:05:52 -07:00
test_single_stmt.2.5.pyc Migrate several more passing tests to new test framework 2019-10-04 11:05:52 -07:00
test_slices.1.5.pyc Move more tests into the new framework, including current xfails. 2019-10-07 13:38:19 -07:00
test_slices.2.2.pyc Move more tests into the new framework, including current xfails. 2019-10-07 13:38:19 -07:00
test_slices.2.5.pyc Move more tests into the new framework, including current xfails. 2019-10-07 13:38:19 -07:00
test_yield.2.2.pyc Migrate several more passing tests to new test framework 2019-10-04 11:05:52 -07:00
test_yield.2.5.pyc Don't emit statements for null values on the stack. 2019-10-10 10:26:19 -07:00
try_except_finally.2.6.pyc Don't emit statements for null values on the stack. 2019-10-10 10:26:19 -07:00
unicode.2.6.pyc Add tests for unicode/bytes string literals 2019-10-06 13:50:53 -07:00
unicode.2.7.pyc Add tests for unicode/bytes string literals 2019-10-06 13:50:53 -07:00
unicode_future.2.6.pyc Print unicode as default in Python 2.x when CO_FUTURE_UNICODE_LITERALS 2019-10-06 14:34:24 -07:00
unicode_future.2.7.pyc Print unicode as default in Python 2.x when CO_FUTURE_UNICODE_LITERALS 2019-10-06 14:34:24 -07:00
unicode_future.3.3.pyc Add tests for unicode/bytes string literals 2019-10-06 13:50:53 -07:00
unicode_future.3.7.pyc Add tests for unicode/bytes string literals 2019-10-06 13:50:53 -07:00
unicode_py3.3.3.pyc Add tests for unicode/bytes string literals 2019-10-06 13:50:53 -07:00
unicode_py3.3.7.pyc Add tests for unicode/bytes string literals 2019-10-06 13:50:53 -07:00
unpack_assign.1.0.pyc Add a test for unpack assignment 2019-10-04 14:33:38 -07:00
unpack_assign.1.5.pyc Add a test for unpack assignment 2019-10-04 14:33:38 -07:00
unpack_assign.2.2.pyc Add a test for unpack assignment 2019-10-04 14:33:38 -07:00
unpack_assign.2.5.pyc Add a test for unpack assignment 2019-10-04 14:33:38 -07:00
unpack_assign.2.7.pyc Add a test for unpack assignment 2019-10-04 14:33:38 -07:00
unpack_assign.3.0.pyc Add a test for unpack assignment 2019-10-04 14:33:38 -07:00
unpack_assign.3.7.pyc Add a test for unpack assignment 2019-10-04 14:33:38 -07:00
while_loop.2.6.pyc Don't emit statements for null values on the stack. 2019-10-10 10:26:19 -07:00
while_loops2.3.1.pyc Don't emit statements for null values on the stack. 2019-10-10 10:26:19 -07:00
yield_from.3.3.pyc Support 'yield from' (Python 3.3) and await (Python 3.5) expressions. 2019-10-10 10:59:10 -07:00