diff --git a/run_tests.py b/run_tests.py index 07a2bb5..c9d7079 100755 --- a/run_tests.py +++ b/run_tests.py @@ -82,6 +82,7 @@ def main(): "tests/basic/nestedclass.py", "tests/basic/super.py", "tests/basic/class5.py", + "tests/basic/class6.py", "tests/basic/kwargs.py", "tests/basic/float2int.py", "tests/basic/oo_inherit.py", diff --git a/test_results.txt b/test_results.txt index 7b8f4e6..096534f 100644 --- a/test_results.txt +++ b/test_results.txt @@ -1,146 +1,147 @@ Testing the file: tests/test_builtins.js [OK] -Testing the file: tests/test_compile_js.py [OK] -tests/algorithms/sqrt.py [4]: .... [OK] -tests/algorithms/triangulation.py [4]: .... [OK] -tests/basic/assign_slice.py [4]: .... [OK] -tests/basic/augassign.py [4]: .... [OK] -tests/basic/augassign2.py [4]: .... [OK] -tests/basic/binaryops.py [4]: .... [OK] -tests/basic/break.py [4]: .... [OK] -tests/basic/class.py [4]: .... [OK] -tests/basic/class2.py [4]: .... [OK] -tests/basic/class3.py [4]: .... [OK] -tests/basic/class4.py [4]: .... [OK] -tests/basic/class5.py [4]: .. known to [FAIL] -tests/basic/closure.py [4]: .... [OK] -tests/basic/continue.py [4]: .... [OK] -tests/basic/default.py [4]: .... [OK] -tests/basic/del_array.py [4]: .. known to [FAIL] -tests/basic/del_attr.py [4]: .. known to [FAIL] -tests/basic/del_dict.py [4]: .. known to [FAIL] -tests/basic/del_global.py [4]: .. known to [FAIL] -tests/basic/del_local.py [4]: .. known to [FAIL] -tests/basic/del_slice.py [4]: .. known to [FAIL] -tests/basic/dictionary.py [4]: .... [OK] -tests/basic/dictionary2.py [4]: .... [OK] -tests/basic/docstring.py [4]: .... [OK] -tests/basic/embedding.py [4]: .... [OK] -tests/basic/fib.py [4]: .... [OK] -tests/basic/float2int.py [4]: .... known to [FAIL] -tests/basic/for_in.py [4]: .... [OK] -tests/basic/for_step.py [4]: .... [OK] -tests/basic/for_xrange.py [4]: .... [OK] -tests/basic/generator.py [4]: .. known to [FAIL] -tests/basic/globalvar.py [4]: .... [OK] -tests/basic/helloworld.py [4]: .... [OK] -tests/basic/ifs.py [4]: .... [OK] -tests/basic/keys.py [4]: .... [OK] -tests/basic/kwargs.py [4]: ... known to [FAIL] -tests/basic/kwargs2.py [4]: .... [OK] -tests/basic/lambda.py [4]: .. known to [FAIL] -tests/basic/list.py [4]: .... [OK] -tests/basic/list2.py [4]: .... [OK] -tests/basic/listcomp2.py [4]: .. known to [FAIL] -tests/basic/literals.py [4]: .... [OK] -tests/basic/logicalops.py [4]: .... [OK] -tests/basic/loops.py [4]: .... [OK] -tests/basic/multiassign.py [4]: .... [OK] -tests/basic/nestedclass.py [4]: ... known to [FAIL] -tests/basic/none.py [4]: .... [OK] -tests/basic/oo.py [4]: .... [OK] -tests/basic/oo_attributes.py [4]: .... [OK] -tests/basic/oo_diamond.py [4]: .... [OK] -tests/basic/oo_inherit.py [4]: .. known to [FAIL] -tests/basic/oo_inherit2.py [4]: .... [OK] -tests/basic/oo_inherit3.py [4]: .... [OK] -tests/basic/oo_inherit_simple.py [4]: .... [OK] -tests/basic/oo_inherit_simple2.py [4]: .... [OK] -tests/basic/oo_static_inherit.py [4]: .... [OK] -tests/basic/oo_super.py [4]: .... [OK] -tests/basic/pass.py [4]: .... [OK] -tests/basic/print.py [4]: .... [OK] -tests/basic/raise.py [4]: .. known to [FAIL] -tests/basic/scope.py [4]: .... [OK] -tests/basic/str1.py [4]: .... [OK] -tests/basic/sumcomp.py [4]: .. known to [FAIL] -tests/basic/super.py [4]: .. known to [FAIL] -tests/basic/trueorfalse.py [4]: .... [OK] -tests/basic/try.py [4]: .. known to [FAIL] -tests/basic/tuple.py [4]: .... [OK] -tests/basic/tuple2.py [4]: .... [OK] -tests/basic/valueerror.py [4]: .. known to [FAIL] -tests/basic/vargs.py [4]: ... known to [FAIL] -tests/basic/vars.py [4]: .... [OK] -tests/basic/vars2.py [4]: .... [OK] -tests/basic/while.py [4]: .... [OK] -tests/errors/decorator.py [4]: .. known to [FAIL] -tests/errors/py_collision.py [4]: .... [OK] -tests/functions/and.py [4]: .... [OK] -tests/functions/append.py [4]: .... [OK] -tests/functions/aug.py [4]: .. known to [FAIL] -tests/functions/bitand.py [4]: .... [OK] -tests/functions/bitor.py [4]: .... [OK] -tests/functions/bitxor.py [4]: .... [OK] -tests/functions/divfloor.py [4]: .... [OK] -tests/functions/float.py [4]: .... [OK] -tests/functions/floatdiv.py [4]: .. known to [FAIL] -tests/functions/gtge.py [4]: .... [OK] -tests/functions/in.py [4]: .... [OK] -tests/functions/int.py [4]: .... [OK] -tests/functions/isinstance.py [4]: .... [OK] -tests/functions/len.py [4]: .... [OK] -tests/functions/lshift.py [4]: .... [OK] -tests/functions/ltle.py [4]: .... [OK] -tests/functions/ne.py [4]: .. known to [FAIL] -tests/functions/or.py [4]: .... [OK] -tests/functions/pop.py [4]: .... [OK] -tests/functions/rshift.py [4]: .... [OK] -tests/functions/sort.py [4]: .... [OK] -tests/functions/sort23.py [4]: .... known to [FAIL] -tests/functions/sort_cmp.py [4]: .... known to [FAIL] -tests/functions/str.py [4]: .... [OK] -tests/functions/ubitcomp.py [4]: .... [OK] -tests/functions/uminus.py [4]: .... [OK] -tests/functions/uplus.py [4]: .... [OK] -tests/lists/extend.py [4]: .... [OK] -tests/lists/filter.py [4]: .. known to [FAIL] -tests/lists/in.py [4]: .... [OK] -tests/lists/insert.py [4]: .... [OK] -tests/lists/map.py [4]: .... [OK] -tests/lists/max.py [4]: .... [OK] -tests/lists/min.py [4]: .... [OK] -tests/lists/reduce.py [4]: ... known to [FAIL] -tests/lists/reverse.py [4]: .... [OK] -tests/lists/subclass.py [4]: ... known to [FAIL] -tests/lists/subclass2.py [4]: .... [OK] -tests/lists/subclass3.py [4]: .... [OK] -tests/lists/sum.py [4]: .. known to [FAIL] -tests/lists/sum2.py [4]: .... [OK] -tests/lists/xrange.py [4]: .... [OK] -tests/lists/zip.py [4]: .... [OK] -tests/strings/count.py [4]: .... [OK] -tests/strings/find.py [4]: .... [OK] -tests/strings/join.py [4]: .... [OK] -tests/strings/lstrip0.py [4]: .... [OK] -tests/strings/lstrip1.py [4]: .... [OK] -tests/strings/replace.py [4]: .... [OK] -tests/strings/rfind.py [4]: .... [OK] -tests/strings/rstrip0.py [4]: .... [OK] -tests/strings/rstrip1.py [4]: .... [OK] -tests/strings/split.py [4]: .... [OK] -tests/strings/splitlines.py [4]: .... [OK] -tests/strings/string_format_combined_simple.py [4]: .... [OK] -tests/strings/string_format_d.py [4]: ... known to [FAIL] -tests/strings/string_format_d_simple.py [4]: .... [OK] -tests/strings/string_format_efg.py [4]: .... known to [FAIL] -tests/strings/string_format_f_simple.py [4]: .... [OK] -tests/strings/string_format_i.py [4]: ... known to [FAIL] -tests/strings/string_format_o.py [4]: .... known to [FAIL] -tests/strings/string_format_s_simple.py [4]: .... [OK] -tests/strings/string_format_u.py [4]: ... known to [FAIL] -tests/strings/string_format_x.py [4]: .... known to [FAIL] -tests/strings/strip.py [4]: .... [OK] -tests/strings/strip1.py [4]: .... [OK] -tests/strings/ulcase.py [4]: ... known to [FAIL] -tests/strings/ulcase1.py [4]: .... [OK] -tests/strings/zipstring.py [4]: .... [OK] +Testing the file: tests\test_compile_js.py [OK] +tests/algorithms\sqrt.py [4]: .... [OK] +tests/algorithms\triangulation.py [4]: .... [OK] +tests/basic\assign_slice.py [4]: .... [OK] +tests/basic\augassign.py [4]: .... [OK] +tests/basic\augassign2.py [4]: .... [OK] +tests/basic\binaryops.py [4]: .... [OK] +tests/basic\break.py [4]: .... [OK] +tests/basic\class.py [4]: .... [OK] +tests/basic\class2.py [4]: .... [OK] +tests/basic\class3.py [4]: .... [OK] +tests/basic\class4.py [4]: .... [OK] +tests/basic\class5.py [4]: .. known to [FAIL] +tests/basic\class6.py [4]: .. known to [FAIL] +tests/basic\closure.py [4]: .... [OK] +tests/basic\continue.py [4]: .... [OK] +tests/basic\default.py [4]: .... [OK] +tests/basic\del_array.py [4]: .. known to [FAIL] +tests/basic\del_attr.py [4]: .. known to [FAIL] +tests/basic\del_dict.py [4]: .. known to [FAIL] +tests/basic\del_global.py [4]: .. known to [FAIL] +tests/basic\del_local.py [4]: .. known to [FAIL] +tests/basic\del_slice.py [4]: .. known to [FAIL] +tests/basic\dictionary.py [4]: .... [OK] +tests/basic\dictionary2.py [4]: .... [OK] +tests/basic\docstring.py [4]: .... [OK] +tests/basic\embedding.py [4]: .... [OK] +tests/basic\fib.py [4]: .... [OK] +tests/basic\float2int.py [4]: .... known to [FAIL] +tests/basic\for_in.py [4]: .... [OK] +tests/basic\for_step.py [4]: .... [OK] +tests/basic\for_xrange.py [4]: .... [OK] +tests/basic\generator.py [4]: .. known to [FAIL] +tests/basic\globalvar.py [4]: .... [OK] +tests/basic\helloworld.py [4]: .... [OK] +tests/basic\ifs.py [4]: .... [OK] +tests/basic\keys.py [4]: .... [OK] +tests/basic\kwargs.py [4]: ... known to [FAIL] +tests/basic\kwargs2.py [4]: .... [OK] +tests/basic\lambda.py [4]: .. known to [FAIL] +tests/basic\list.py [4]: .... [OK] +tests/basic\list2.py [4]: .... [OK] +tests/basic\listcomp2.py [4]: .. known to [FAIL] +tests/basic\literals.py [4]: .... [OK] +tests/basic\logicalops.py [4]: .... [OK] +tests/basic\loops.py [4]: .... [OK] +tests/basic\multiassign.py [4]: .... [OK] +tests/basic\nestedclass.py [4]: ... known to [FAIL] +tests/basic\none.py [4]: .... [OK] +tests/basic\oo.py [4]: .... [OK] +tests/basic\oo_attributes.py [4]: .... [OK] +tests/basic\oo_diamond.py [4]: .... [OK] +tests/basic\oo_inherit.py [4]: .. known to [FAIL] +tests/basic\oo_inherit2.py [4]: .... [OK] +tests/basic\oo_inherit3.py [4]: .... [OK] +tests/basic\oo_inherit_simple.py [4]: .... [OK] +tests/basic\oo_inherit_simple2.py [4]: .... [OK] +tests/basic\oo_static_inherit.py [4]: .... [OK] +tests/basic\oo_super.py [4]: .... [OK] +tests/basic\pass.py [4]: .... [OK] +tests/basic\print.py [4]: .... [OK] +tests/basic\raise.py [4]: .. known to [FAIL] +tests/basic\scope.py [4]: .... [OK] +tests/basic\str1.py [4]: .... [OK] +tests/basic\sumcomp.py [4]: .. known to [FAIL] +tests/basic\super.py [4]: .. known to [FAIL] +tests/basic\trueorfalse.py [4]: .... [OK] +tests/basic\try.py [4]: .. known to [FAIL] +tests/basic\tuple.py [4]: .... [OK] +tests/basic\tuple2.py [4]: .... [OK] +tests/basic\valueerror.py [4]: .. known to [FAIL] +tests/basic\vargs.py [4]: ... known to [FAIL] +tests/basic\vars.py [4]: .... [OK] +tests/basic\vars2.py [4]: .... [OK] +tests/basic\while.py [4]: .... [OK] +tests/errors\decorator.py [4]: .. known to [FAIL] +tests/errors\py_collision.py [4]: .... [OK] +tests/functions\and.py [4]: .... [OK] +tests/functions\append.py [4]: .... [OK] +tests/functions\aug.py [4]: .. known to [FAIL] +tests/functions\bitand.py [4]: .... [OK] +tests/functions\bitor.py [4]: .... [OK] +tests/functions\bitxor.py [4]: .... [OK] +tests/functions\divfloor.py [4]: .... [OK] +tests/functions\float.py [4]: .... [OK] +tests/functions\floatdiv.py [4]: .. known to [FAIL] +tests/functions\gtge.py [4]: .... [OK] +tests/functions\in.py [4]: .... [OK] +tests/functions\int.py [4]: .... [OK] +tests/functions\isinstance.py [4]: .... [OK] +tests/functions\len.py [4]: .... [OK] +tests/functions\lshift.py [4]: .... [OK] +tests/functions\ltle.py [4]: .... [OK] +tests/functions\ne.py [4]: .. known to [FAIL] +tests/functions\or.py [4]: .... [OK] +tests/functions\pop.py [4]: .... [OK] +tests/functions\rshift.py [4]: .... [OK] +tests/functions\sort.py [4]: .... [OK] +tests/functions\sort23.py [4]: .... known to [FAIL] +tests/functions\sort_cmp.py [4]: .... known to [FAIL] +tests/functions\str.py [4]: .... [OK] +tests/functions\ubitcomp.py [4]: .... [OK] +tests/functions\uminus.py [4]: .... [OK] +tests/functions\uplus.py [4]: .... [OK] +tests/lists\extend.py [4]: .... [OK] +tests/lists\filter.py [4]: .. known to [FAIL] +tests/lists\in.py [4]: .... [OK] +tests/lists\insert.py [4]: .... [OK] +tests/lists\map.py [4]: .... [OK] +tests/lists\max.py [4]: .... [OK] +tests/lists\min.py [4]: .... [OK] +tests/lists\reduce.py [4]: ... known to [FAIL] +tests/lists\reverse.py [4]: .... [OK] +tests/lists\subclass.py [4]: ... known to [FAIL] +tests/lists\subclass2.py [4]: .... [OK] +tests/lists\subclass3.py [4]: .... [OK] +tests/lists\sum.py [4]: .. known to [FAIL] +tests/lists\sum2.py [4]: .... [OK] +tests/lists\xrange.py [4]: .... [OK] +tests/lists\zip.py [4]: .... [OK] +tests/strings\count.py [4]: .... [OK] +tests/strings\find.py [4]: .... [OK] +tests/strings\join.py [4]: .... [OK] +tests/strings\lstrip0.py [4]: .... [OK] +tests/strings\lstrip1.py [4]: .... [OK] +tests/strings\replace.py [4]: .... [OK] +tests/strings\rfind.py [4]: .... [OK] +tests/strings\rstrip0.py [4]: .... [OK] +tests/strings\rstrip1.py [4]: .... [OK] +tests/strings\split.py [4]: .... [OK] +tests/strings\splitlines.py [4]: .... [OK] +tests/strings\string_format_combined_simple.py [4]: .... [OK] +tests/strings\string_format_d.py [4]: ... known to [FAIL] +tests/strings\string_format_d_simple.py [4]: .... [OK] +tests/strings\string_format_efg.py [4]: .... known to [FAIL] +tests/strings\string_format_f_simple.py [4]: .... [OK] +tests/strings\string_format_i.py [4]: ... known to [FAIL] +tests/strings\string_format_o.py [4]: .... known to [FAIL] +tests/strings\string_format_s_simple.py [4]: .... [OK] +tests/strings\string_format_u.py [4]: ... known to [FAIL] +tests/strings\string_format_x.py [4]: .... known to [FAIL] +tests/strings\strip.py [4]: .... [OK] +tests/strings\strip1.py [4]: .... [OK] +tests/strings\ulcase.py [4]: ... known to [FAIL] +tests/strings\ulcase1.py [4]: .... [OK] +tests/strings\zipstring.py [4]: .... [OK]