From c19232a9d2be2bde30e446311f32e9dcdd5d4774 Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Sat, 2 Feb 2013 11:15:11 -0500 Subject: Move the test directory to tests to avoid conflicts with the stdlib test package. --HG-- rename : test/__init__.py => tests/__init__.py rename : test/backtest.py => tests/backtest.py rename : test/backunittest.py => tests/backunittest.py rename : test/coveragetest.py => tests/coveragetest.py rename : test/covmodzip1.py => tests/covmodzip1.py rename : test/eggsrc/egg1/__init__.py => tests/eggsrc/egg1/__init__.py rename : test/eggsrc/egg1/egg1.py => tests/eggsrc/egg1/egg1.py rename : test/eggsrc/setup.py => tests/eggsrc/setup.py rename : test/farm/annotate/annotate_dir.py => tests/farm/annotate/annotate_dir.py rename : test/farm/annotate/gold/white.py,cover => tests/farm/annotate/gold/white.py,cover rename : test/farm/annotate/gold_anno_dir/a___init__.py,cover => tests/farm/annotate/gold_anno_dir/a___init__.py,cover rename : test/farm/annotate/gold_anno_dir/a_a.py,cover => tests/farm/annotate/gold_anno_dir/a_a.py,cover rename : test/farm/annotate/gold_anno_dir/b___init__.py,cover => tests/farm/annotate/gold_anno_dir/b___init__.py,cover rename : test/farm/annotate/gold_anno_dir/b_b.py,cover => tests/farm/annotate/gold_anno_dir/b_b.py,cover rename : test/farm/annotate/gold_anno_dir/multi.py,cover => tests/farm/annotate/gold_anno_dir/multi.py,cover rename : test/farm/annotate/gold_multi/a/__init__.py,cover => tests/farm/annotate/gold_multi/a/__init__.py,cover rename : test/farm/annotate/gold_multi/a/a.py,cover => tests/farm/annotate/gold_multi/a/a.py,cover rename : test/farm/annotate/gold_multi/b/__init__.py,cover => tests/farm/annotate/gold_multi/b/__init__.py,cover rename : test/farm/annotate/gold_multi/b/b.py,cover => tests/farm/annotate/gold_multi/b/b.py,cover rename : test/farm/annotate/gold_multi/multi.py,cover => tests/farm/annotate/gold_multi/multi.py,cover rename : test/farm/annotate/gold_v24/white.py,cover => tests/farm/annotate/gold_v24/white.py,cover rename : test/farm/annotate/run.py => tests/farm/annotate/run.py rename : test/farm/annotate/run_multi.py => tests/farm/annotate/run_multi.py rename : test/farm/annotate/src/a/__init__.py => tests/farm/annotate/src/a/__init__.py rename : test/farm/annotate/src/a/a.py => tests/farm/annotate/src/a/a.py rename : test/farm/annotate/src/b/__init__.py => tests/farm/annotate/src/b/__init__.py rename : test/farm/annotate/src/b/b.py => tests/farm/annotate/src/b/b.py rename : test/farm/annotate/src/multi.py => tests/farm/annotate/src/multi.py rename : test/farm/annotate/src/white.py => tests/farm/annotate/src/white.py rename : test/farm/html/gold_a/a.html => tests/farm/html/gold_a/a.html rename : test/farm/html/gold_a/index.html => tests/farm/html/gold_a/index.html rename : test/farm/html/gold_b_branch/b.html => tests/farm/html/gold_b_branch/b.html rename : test/farm/html/gold_b_branch/index.html => tests/farm/html/gold_b_branch/index.html rename : test/farm/html/gold_bom/bom.html => tests/farm/html/gold_bom/bom.html rename : test/farm/html/gold_bom/index.html => tests/farm/html/gold_bom/index.html rename : test/farm/html/gold_isolatin1/index.html => tests/farm/html/gold_isolatin1/index.html rename : test/farm/html/gold_isolatin1/isolatin1.html => tests/farm/html/gold_isolatin1/isolatin1.html rename : test/farm/html/gold_omit_1/index.html => tests/farm/html/gold_omit_1/index.html rename : test/farm/html/gold_omit_1/m1.html => tests/farm/html/gold_omit_1/m1.html rename : test/farm/html/gold_omit_1/m2.html => tests/farm/html/gold_omit_1/m2.html rename : test/farm/html/gold_omit_1/m3.html => tests/farm/html/gold_omit_1/m3.html rename : test/farm/html/gold_omit_1/main.html => tests/farm/html/gold_omit_1/main.html rename : test/farm/html/gold_omit_2/index.html => tests/farm/html/gold_omit_2/index.html rename : test/farm/html/gold_omit_2/m2.html => tests/farm/html/gold_omit_2/m2.html rename : test/farm/html/gold_omit_2/m3.html => tests/farm/html/gold_omit_2/m3.html rename : test/farm/html/gold_omit_2/main.html => tests/farm/html/gold_omit_2/main.html rename : test/farm/html/gold_omit_3/index.html => tests/farm/html/gold_omit_3/index.html rename : test/farm/html/gold_omit_3/m3.html => tests/farm/html/gold_omit_3/m3.html rename : test/farm/html/gold_omit_3/main.html => tests/farm/html/gold_omit_3/main.html rename : test/farm/html/gold_omit_4/index.html => tests/farm/html/gold_omit_4/index.html rename : test/farm/html/gold_omit_4/m1.html => tests/farm/html/gold_omit_4/m1.html rename : test/farm/html/gold_omit_4/m3.html => tests/farm/html/gold_omit_4/m3.html rename : test/farm/html/gold_omit_4/main.html => tests/farm/html/gold_omit_4/main.html rename : test/farm/html/gold_omit_5/index.html => tests/farm/html/gold_omit_5/index.html rename : test/farm/html/gold_omit_5/m1.html => tests/farm/html/gold_omit_5/m1.html rename : test/farm/html/gold_omit_5/main.html => tests/farm/html/gold_omit_5/main.html rename : test/farm/html/gold_other/blah_blah_other.html => tests/farm/html/gold_other/blah_blah_other.html rename : test/farm/html/gold_other/here.html => tests/farm/html/gold_other/here.html rename : test/farm/html/gold_other/index.html => tests/farm/html/gold_other/index.html rename : test/farm/html/gold_partial/index.html => tests/farm/html/gold_partial/index.html rename : test/farm/html/gold_partial/partial.html => tests/farm/html/gold_partial/partial.html rename : test/farm/html/gold_styled/a.html => tests/farm/html/gold_styled/a.html rename : test/farm/html/gold_styled/extra.css => tests/farm/html/gold_styled/extra.css rename : test/farm/html/gold_styled/index.html => tests/farm/html/gold_styled/index.html rename : test/farm/html/gold_styled/style.css => tests/farm/html/gold_styled/style.css rename : test/farm/html/gold_unicode/index.html => tests/farm/html/gold_unicode/index.html rename : test/farm/html/gold_unicode/unicode.html => tests/farm/html/gold_unicode/unicode.html rename : test/farm/html/gold_x_xml/coverage.xml => tests/farm/html/gold_x_xml/coverage.xml rename : test/farm/html/gold_y_xml_branch/coverage.xml => tests/farm/html/gold_y_xml_branch/coverage.xml rename : test/farm/html/othersrc/other.py => tests/farm/html/othersrc/other.py rename : test/farm/html/run_a.py => tests/farm/html/run_a.py rename : test/farm/html/run_a_xml_1.py => tests/farm/html/run_a_xml_1.py rename : test/farm/html/run_a_xml_2.py => tests/farm/html/run_a_xml_2.py rename : test/farm/html/run_b_branch.py => tests/farm/html/run_b_branch.py rename : test/farm/html/run_bom.py => tests/farm/html/run_bom.py rename : test/farm/html/run_isolatin1.py => tests/farm/html/run_isolatin1.py rename : test/farm/html/run_omit_1.py => tests/farm/html/run_omit_1.py rename : test/farm/html/run_omit_2.py => tests/farm/html/run_omit_2.py rename : test/farm/html/run_omit_3.py => tests/farm/html/run_omit_3.py rename : test/farm/html/run_omit_4.py => tests/farm/html/run_omit_4.py rename : test/farm/html/run_omit_5.py => tests/farm/html/run_omit_5.py rename : test/farm/html/run_other.py => tests/farm/html/run_other.py rename : test/farm/html/run_partial.py => tests/farm/html/run_partial.py rename : test/farm/html/run_styled.py => tests/farm/html/run_styled.py rename : test/farm/html/run_tabbed.py => tests/farm/html/run_tabbed.py rename : test/farm/html/run_unicode.py => tests/farm/html/run_unicode.py rename : test/farm/html/run_y_xml_branch.py => tests/farm/html/run_y_xml_branch.py rename : test/farm/html/src/a.py => tests/farm/html/src/a.py rename : test/farm/html/src/b.py => tests/farm/html/src/b.py rename : test/farm/html/src/bom.py => tests/farm/html/src/bom.py rename : test/farm/html/src/coverage.xml => tests/farm/html/src/coverage.xml rename : test/farm/html/src/extra.css => tests/farm/html/src/extra.css rename : test/farm/html/src/here.py => tests/farm/html/src/here.py rename : test/farm/html/src/isolatin1.py => tests/farm/html/src/isolatin1.py rename : test/farm/html/src/m1.py => tests/farm/html/src/m1.py rename : test/farm/html/src/m2.py => tests/farm/html/src/m2.py rename : test/farm/html/src/m3.py => tests/farm/html/src/m3.py rename : test/farm/html/src/main.py => tests/farm/html/src/main.py rename : test/farm/html/src/omit4.ini => tests/farm/html/src/omit4.ini rename : test/farm/html/src/omit5.ini => tests/farm/html/src/omit5.ini rename : test/farm/html/src/partial.py => tests/farm/html/src/partial.py rename : test/farm/html/src/run_a_xml_2.ini => tests/farm/html/src/run_a_xml_2.ini rename : test/farm/html/src/tabbed.py => tests/farm/html/src/tabbed.py rename : test/farm/html/src/unicode.py => tests/farm/html/src/unicode.py rename : test/farm/html/src/y.py => tests/farm/html/src/y.py rename : test/farm/run/run_chdir.py => tests/farm/run/run_chdir.py rename : test/farm/run/run_timid.py => tests/farm/run/run_timid.py rename : test/farm/run/run_xxx.py => tests/farm/run/run_xxx.py rename : test/farm/run/src/chdir.py => tests/farm/run/src/chdir.py rename : test/farm/run/src/showtrace.py => tests/farm/run/src/showtrace.py rename : test/farm/run/src/subdir/placeholder => tests/farm/run/src/subdir/placeholder rename : test/farm/run/src/xxx => tests/farm/run/src/xxx rename : test/js/index.html => tests/js/index.html rename : test/js/tests.js => tests/js/tests.js rename : test/modules/aa/__init__.py => tests/modules/aa/__init__.py rename : test/modules/aa/afile.odd.py => tests/modules/aa/afile.odd.py rename : test/modules/aa/afile.py => tests/modules/aa/afile.py rename : test/modules/aa/bb.odd/bfile.py => tests/modules/aa/bb.odd/bfile.py rename : test/modules/aa/bb/__init__.py => tests/modules/aa/bb/__init__.py rename : test/modules/aa/bb/bfile.odd.py => tests/modules/aa/bb/bfile.odd.py rename : test/modules/aa/bb/bfile.py => tests/modules/aa/bb/bfile.py rename : test/modules/aa/bb/cc/__init__.py => tests/modules/aa/bb/cc/__init__.py rename : test/modules/aa/bb/cc/cfile.py => tests/modules/aa/bb/cc/cfile.py rename : test/modules/aa/zfile.py => tests/modules/aa/zfile.py rename : test/modules/covmod1.py => tests/modules/covmod1.py rename : test/modules/pkg1/__init__.py => tests/modules/pkg1/__init__.py rename : test/modules/pkg1/__main__.py => tests/modules/pkg1/__main__.py rename : test/modules/pkg1/p1a.py => tests/modules/pkg1/p1a.py rename : test/modules/pkg1/p1b.py => tests/modules/pkg1/p1b.py rename : test/modules/pkg1/p1c.py => tests/modules/pkg1/p1c.py rename : test/modules/pkg1/runmod2.py => tests/modules/pkg1/runmod2.py rename : test/modules/pkg1/sub/__init__.py => tests/modules/pkg1/sub/__init__.py rename : test/modules/pkg1/sub/__main__.py => tests/modules/pkg1/sub/__main__.py rename : test/modules/pkg1/sub/ps1a.py => tests/modules/pkg1/sub/ps1a.py rename : test/modules/pkg1/sub/runmod3.py => tests/modules/pkg1/sub/runmod3.py rename : test/modules/pkg2/__init__.py => tests/modules/pkg2/__init__.py rename : test/modules/pkg2/p2a.py => tests/modules/pkg2/p2a.py rename : test/modules/pkg2/p2b.py => tests/modules/pkg2/p2b.py rename : test/modules/runmod1.py => tests/modules/runmod1.py rename : test/modules/usepkgs.py => tests/modules/usepkgs.py rename : test/moremodules/othermods/__init__.py => tests/moremodules/othermods/__init__.py rename : test/moremodules/othermods/othera.py => tests/moremodules/othermods/othera.py rename : test/moremodules/othermods/otherb.py => tests/moremodules/othermods/otherb.py rename : test/moremodules/othermods/sub/__init__.py => tests/moremodules/othermods/sub/__init__.py rename : test/moremodules/othermods/sub/osa.py => tests/moremodules/othermods/sub/osa.py rename : test/moremodules/othermods/sub/osb.py => tests/moremodules/othermods/sub/osb.py rename : test/osinfo.py => tests/osinfo.py rename : test/qunit/jquery.tmpl.min.js => tests/qunit/jquery.tmpl.min.js rename : test/qunit/qunit.css => tests/qunit/qunit.css rename : test/qunit/qunit.js => tests/qunit/qunit.js rename : test/stress_phystoken.tok => tests/stress_phystoken.tok rename : test/stress_phystoken_dos.tok => tests/stress_phystoken_dos.tok rename : test/test_api.py => tests/test_api.py rename : test/test_arcs.py => tests/test_arcs.py rename : test/test_cmdline.py => tests/test_cmdline.py rename : test/test_codeunit.py => tests/test_codeunit.py rename : test/test_config.py => tests/test_config.py rename : test/test_coverage.py => tests/test_coverage.py rename : test/test_data.py => tests/test_data.py rename : test/test_execfile.py => tests/test_execfile.py rename : test/test_farm.py => tests/test_farm.py rename : test/test_files.py => tests/test_files.py rename : test/test_html.py => tests/test_html.py rename : test/test_misc.py => tests/test_misc.py rename : test/test_oddball.py => tests/test_oddball.py rename : test/test_parser.py => tests/test_parser.py rename : test/test_phystokens.py => tests/test_phystokens.py rename : test/test_process.py => tests/test_process.py rename : test/test_results.py => tests/test_results.py rename : test/test_summary.py => tests/test_summary.py rename : test/test_templite.py => tests/test_templite.py rename : test/test_testing.py => tests/test_testing.py rename : test/test_xml.py => tests/test_xml.py rename : test/try_execfile.py => tests/try_execfile.py --- test/farm/html/gold_a/a.html | 95 --------- test/farm/html/gold_a/index.html | 89 -------- test/farm/html/gold_b_branch/b.html | 139 ------------- test/farm/html/gold_b_branch/index.html | 101 --------- test/farm/html/gold_bom/bom.html | 104 ---------- test/farm/html/gold_bom/index.html | 90 -------- test/farm/html/gold_isolatin1/index.html | 89 -------- test/farm/html/gold_isolatin1/isolatin1.html | 91 -------- test/farm/html/gold_omit_1/index.html | 116 ----------- test/farm/html/gold_omit_1/m1.html | 85 -------- test/farm/html/gold_omit_1/m2.html | 85 -------- test/farm/html/gold_omit_1/m3.html | 85 -------- test/farm/html/gold_omit_1/main.html | 101 --------- test/farm/html/gold_omit_2/index.html | 107 ---------- test/farm/html/gold_omit_2/m2.html | 85 -------- test/farm/html/gold_omit_2/m3.html | 85 -------- test/farm/html/gold_omit_2/main.html | 101 --------- test/farm/html/gold_omit_3/index.html | 98 --------- test/farm/html/gold_omit_3/m3.html | 85 -------- test/farm/html/gold_omit_3/main.html | 101 --------- test/farm/html/gold_omit_4/index.html | 107 ---------- test/farm/html/gold_omit_4/m1.html | 85 -------- test/farm/html/gold_omit_4/m3.html | 85 -------- test/farm/html/gold_omit_4/main.html | 101 --------- test/farm/html/gold_omit_5/index.html | 98 --------- test/farm/html/gold_omit_5/m1.html | 85 -------- test/farm/html/gold_omit_5/main.html | 101 --------- test/farm/html/gold_other/blah_blah_other.html | 89 -------- test/farm/html/gold_other/here.html | 97 --------- test/farm/html/gold_other/index.html | 98 --------- test/farm/html/gold_partial/index.html | 101 --------- test/farm/html/gold_partial/partial.html | 121 ----------- test/farm/html/gold_styled/a.html | 95 --------- test/farm/html/gold_styled/extra.css | 1 - test/farm/html/gold_styled/index.html | 89 -------- test/farm/html/gold_styled/style.css | 275 ------------------------- test/farm/html/gold_unicode/index.html | 89 -------- test/farm/html/gold_unicode/unicode.html | 91 -------- test/farm/html/gold_x_xml/coverage.xml | 20 -- test/farm/html/gold_y_xml_branch/coverage.xml | 22 -- test/farm/html/othersrc/other.py | 4 - test/farm/html/run_a.py | 25 --- test/farm/html/run_a_xml_1.py | 21 -- test/farm/html/run_a_xml_2.py | 21 -- test/farm/html/run_b_branch.py | 28 --- test/farm/html/run_bom.py | 21 -- test/farm/html/run_isolatin1.py | 21 -- test/farm/html/run_omit_1.py | 12 -- test/farm/html/run_omit_2.py | 12 -- test/farm/html/run_omit_3.py | 12 -- test/farm/html/run_omit_4.py | 12 -- test/farm/html/run_omit_5.py | 12 -- test/farm/html/run_other.py | 26 --- test/farm/html/run_partial.py | 32 --- test/farm/html/run_styled.py | 28 --- test/farm/html/run_tabbed.py | 24 --- test/farm/html/run_unicode.py | 30 --- test/farm/html/run_y_xml_branch.py | 21 -- test/farm/html/src/a.py | 7 - test/farm/html/src/b.py | 29 --- test/farm/html/src/bom.py | 11 - test/farm/html/src/coverage.xml | 20 -- test/farm/html/src/extra.css | 1 - test/farm/html/src/here.py | 8 - test/farm/html/src/isolatin1.py | 5 - test/farm/html/src/m1.py | 2 - test/farm/html/src/m2.py | 2 - test/farm/html/src/m3.py | 2 - test/farm/html/src/main.py | 10 - test/farm/html/src/omit4.ini | 2 - test/farm/html/src/omit5.ini | 8 - test/farm/html/src/partial.py | 18 -- test/farm/html/src/run_a_xml_2.ini | 3 - test/farm/html/src/tabbed.py | 7 - test/farm/html/src/unicode.py | 5 - test/farm/html/src/y.py | 9 - 76 files changed, 4293 deletions(-) delete mode 100644 test/farm/html/gold_a/a.html delete mode 100644 test/farm/html/gold_a/index.html delete mode 100644 test/farm/html/gold_b_branch/b.html delete mode 100644 test/farm/html/gold_b_branch/index.html delete mode 100644 test/farm/html/gold_bom/bom.html delete mode 100644 test/farm/html/gold_bom/index.html delete mode 100644 test/farm/html/gold_isolatin1/index.html delete mode 100644 test/farm/html/gold_isolatin1/isolatin1.html delete mode 100644 test/farm/html/gold_omit_1/index.html delete mode 100644 test/farm/html/gold_omit_1/m1.html delete mode 100644 test/farm/html/gold_omit_1/m2.html delete mode 100644 test/farm/html/gold_omit_1/m3.html delete mode 100644 test/farm/html/gold_omit_1/main.html delete mode 100644 test/farm/html/gold_omit_2/index.html delete mode 100644 test/farm/html/gold_omit_2/m2.html delete mode 100644 test/farm/html/gold_omit_2/m3.html delete mode 100644 test/farm/html/gold_omit_2/main.html delete mode 100644 test/farm/html/gold_omit_3/index.html delete mode 100644 test/farm/html/gold_omit_3/m3.html delete mode 100644 test/farm/html/gold_omit_3/main.html delete mode 100644 test/farm/html/gold_omit_4/index.html delete mode 100644 test/farm/html/gold_omit_4/m1.html delete mode 100644 test/farm/html/gold_omit_4/m3.html delete mode 100644 test/farm/html/gold_omit_4/main.html delete mode 100644 test/farm/html/gold_omit_5/index.html delete mode 100644 test/farm/html/gold_omit_5/m1.html delete mode 100644 test/farm/html/gold_omit_5/main.html delete mode 100644 test/farm/html/gold_other/blah_blah_other.html delete mode 100644 test/farm/html/gold_other/here.html delete mode 100644 test/farm/html/gold_other/index.html delete mode 100644 test/farm/html/gold_partial/index.html delete mode 100644 test/farm/html/gold_partial/partial.html delete mode 100644 test/farm/html/gold_styled/a.html delete mode 100644 test/farm/html/gold_styled/extra.css delete mode 100644 test/farm/html/gold_styled/index.html delete mode 100644 test/farm/html/gold_styled/style.css delete mode 100644 test/farm/html/gold_unicode/index.html delete mode 100644 test/farm/html/gold_unicode/unicode.html delete mode 100644 test/farm/html/gold_x_xml/coverage.xml delete mode 100644 test/farm/html/gold_y_xml_branch/coverage.xml delete mode 100644 test/farm/html/othersrc/other.py delete mode 100644 test/farm/html/run_a.py delete mode 100644 test/farm/html/run_a_xml_1.py delete mode 100644 test/farm/html/run_a_xml_2.py delete mode 100644 test/farm/html/run_b_branch.py delete mode 100644 test/farm/html/run_bom.py delete mode 100644 test/farm/html/run_isolatin1.py delete mode 100644 test/farm/html/run_omit_1.py delete mode 100644 test/farm/html/run_omit_2.py delete mode 100644 test/farm/html/run_omit_3.py delete mode 100644 test/farm/html/run_omit_4.py delete mode 100644 test/farm/html/run_omit_5.py delete mode 100644 test/farm/html/run_other.py delete mode 100644 test/farm/html/run_partial.py delete mode 100644 test/farm/html/run_styled.py delete mode 100644 test/farm/html/run_tabbed.py delete mode 100644 test/farm/html/run_unicode.py delete mode 100644 test/farm/html/run_y_xml_branch.py delete mode 100644 test/farm/html/src/a.py delete mode 100644 test/farm/html/src/b.py delete mode 100644 test/farm/html/src/bom.py delete mode 100644 test/farm/html/src/coverage.xml delete mode 100644 test/farm/html/src/extra.css delete mode 100644 test/farm/html/src/here.py delete mode 100644 test/farm/html/src/isolatin1.py delete mode 100644 test/farm/html/src/m1.py delete mode 100644 test/farm/html/src/m2.py delete mode 100644 test/farm/html/src/m3.py delete mode 100644 test/farm/html/src/main.py delete mode 100644 test/farm/html/src/omit4.ini delete mode 100644 test/farm/html/src/omit5.ini delete mode 100644 test/farm/html/src/partial.py delete mode 100644 test/farm/html/src/run_a_xml_2.ini delete mode 100644 test/farm/html/src/tabbed.py delete mode 100644 test/farm/html/src/unicode.py delete mode 100644 test/farm/html/src/y.py (limited to 'test/farm/html') diff --git a/test/farm/html/gold_a/a.html b/test/farm/html/gold_a/a.html deleted file mode 100644 index c794525e..00000000 --- a/test/farm/html/gold_a/a.html +++ /dev/null @@ -1,95 +0,0 @@ - - - - - - - - Coverage for a: 67% - - - - - - - - - - - -
- -

Hot-keys on this page

-
-

- r - m - x - p   toggle line displays -

-

- j - k   next/prev highlighted chunk -

-

- 0   (zero) top of page -

-

- 1   (one) first highlighted chunk -

-
-
- -
- - - - - -
-

1

-

2

-

3

-

4

-

5

-

6

-

7

- -
-

# A test file for HTML reporting by coverage. 

-

 

-

if 1 < 2: 

-

    # Needed a < to look at HTML entities. 

-

    a = 3 

-

else: 

-

    a = 4 

- -
-
- - - - - diff --git a/test/farm/html/gold_a/index.html b/test/farm/html/gold_a/index.html deleted file mode 100644 index a821e9df..00000000 --- a/test/farm/html/gold_a/index.html +++ /dev/null @@ -1,89 +0,0 @@ - - - - - Coverage report - - - - - - - - - - - -
- -

Hot-keys on this page

-
-

- n - s - m - x - - c   change column sorting -

-
-
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Modulestatementsmissingexcludedcoverage
Total31067%
a31067%
-
- - - - - diff --git a/test/farm/html/gold_b_branch/b.html b/test/farm/html/gold_b_branch/b.html deleted file mode 100644 index 0258ad13..00000000 --- a/test/farm/html/gold_b_branch/b.html +++ /dev/null @@ -1,139 +0,0 @@ - - - - - - - - Coverage for b: 76% - - - - - - - - - - - -
- -

Hot-keys on this page

-
-

- r - m - x - p   toggle line displays -

-

- j - k   next/prev highlighted chunk -

-

- 0   (zero) top of page -

-

- 1   (one) first highlighted chunk -

-
-
- -
- - - - - -
-

1

-

2

-

3

-

4

-

5

-

6

-

7

-

8

-

9

-

10

-

11

-

12

-

13

-

14

-

15

-

16

-

17

-

18

-

19

-

20

-

21

-

22

-

23

-

24

-

25

-

26

-

27

-

28

- -
-

# A test file for HTML reporting by coverage. 

-

 

-

def one(x): 

-

    # This will be a branch that misses the else. 

-

8    if x < 2: 

-

        a = 3 

-

    else: 

-

        a = 4 

-

 

-

one(1) 

-

 

-

def two(x): 

-

    # A missed else that branches to "exit" 

-

exit    if x: 

-

        a = 5 

-

 

-

two(1) 

-

 

-

def three_way(): 

-

    # for-else can be a three-way branch. 

-

25   26    for i in range(10): 

-

        if i == 3: 

-

            break 

-

    else: 

-

        return 23 

-

    return 17 

-

 

-

three_way() 

- -
-
- - - - - diff --git a/test/farm/html/gold_b_branch/index.html b/test/farm/html/gold_b_branch/index.html deleted file mode 100644 index cb6ffa17..00000000 --- a/test/farm/html/gold_b_branch/index.html +++ /dev/null @@ -1,101 +0,0 @@ - - - - - Coverage report - - - - - - - - - - - -
- -

Hot-keys on this page

-
-

- n - s - m - x - - b - p - - c   change column sorting -

-
-
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Modulestatementsmissingexcludedbranchespartialcoverage
Total16209476%
b16209476%
-
- - - - - diff --git a/test/farm/html/gold_bom/bom.html b/test/farm/html/gold_bom/bom.html deleted file mode 100644 index 1d61a62c..00000000 --- a/test/farm/html/gold_bom/bom.html +++ /dev/null @@ -1,104 +0,0 @@ - - - - - - - - Coverage for bom: 71% - - - - - - - - - - - - -
- -

Hot-keys on this page

-
-

- r - m - x - p   toggle line displays -

-

- j - k   next/prev highlighted chunk -

-

- 0   (zero) top of page -

-

- 1   (one) first highlighted chunk -

-
-
- -
- - - - - -
-

1

-

2

-

3

-

4

-

5

-

6

-

7

-

8

-

9

-

10

-

11

- -
-

# A python source file in utf-8, with BOM 

-

math = "3×4 = 12, ÷2 = 6±0" 

-

 

-

import sys 

-

 

-

if sys.version_info >= (3, 0): 

-

    assert len(math) == 18 

-

    assert len(math.encode('utf-8')) == 21 

-

else: 

-

    assert len(math) == 21 

-

    assert len(math.decode('utf-8')) == 18 

- -
-
- - - - - diff --git a/test/farm/html/gold_bom/index.html b/test/farm/html/gold_bom/index.html deleted file mode 100644 index 8653b23e..00000000 --- a/test/farm/html/gold_bom/index.html +++ /dev/null @@ -1,90 +0,0 @@ - - - - - Coverage report - - - - - - - - - - - - -
- -

Hot-keys on this page

-
-

- n - s - m - x - - c   change column sorting -

-
-
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Modulestatementsmissingexcludedcoverage
Total72071%
bom72071%
-
- - - - - diff --git a/test/farm/html/gold_isolatin1/index.html b/test/farm/html/gold_isolatin1/index.html deleted file mode 100644 index 6e9f3ca7..00000000 --- a/test/farm/html/gold_isolatin1/index.html +++ /dev/null @@ -1,89 +0,0 @@ - - - - - Coverage report - - - - - - - - - - - -
- -

Hot-keys on this page

-
-

- n - s - m - x - - c   change column sorting -

-
-
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Modulestatementsmissingexcludedcoverage
Total200100%
isolatin1200100%
-
- - - - - diff --git a/test/farm/html/gold_isolatin1/isolatin1.html b/test/farm/html/gold_isolatin1/isolatin1.html deleted file mode 100644 index 276a6c25..00000000 --- a/test/farm/html/gold_isolatin1/isolatin1.html +++ /dev/null @@ -1,91 +0,0 @@ - - - - - - - - Coverage for isolatin1: 100% - - - - - - - - - - - -
- -

Hot-keys on this page

-
-

- r - m - x - p   toggle line displays -

-

- j - k   next/prev highlighted chunk -

-

- 0   (zero) top of page -

-

- 1   (one) first highlighted chunk -

-
-
- -
- - - - - -
-

1

-

2

-

3

-

4

-

5

- -
-

# A python source file in another encoding. 

-

# -*- coding: iso8859-1 -*- 

-

 

-

math = "3×4 = 12, ÷2 = 6±0" 

-

assert len(math) == 18 

- -
-
- - - - - diff --git a/test/farm/html/gold_omit_1/index.html b/test/farm/html/gold_omit_1/index.html deleted file mode 100644 index 5616d012..00000000 --- a/test/farm/html/gold_omit_1/index.html +++ /dev/null @@ -1,116 +0,0 @@ - - - - - Coverage report - - - - - - - - - - - -
- -

Hot-keys on this page

-
-

- n - s - m - x - - c   change column sorting -

-
-
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Modulestatementsmissingexcludedcoverage
Total1400100%
m1200100%
m2200100%
m3200100%
main800100%
-
- - - - - diff --git a/test/farm/html/gold_omit_1/m1.html b/test/farm/html/gold_omit_1/m1.html deleted file mode 100644 index 62ba1e0a..00000000 --- a/test/farm/html/gold_omit_1/m1.html +++ /dev/null @@ -1,85 +0,0 @@ - - - - - - - - Coverage for m1: 100% - - - - - - - - - - - -
- -

Hot-keys on this page

-
-

- r - m - x - p   toggle line displays -

-

- j - k   next/prev highlighted chunk -

-

- 0   (zero) top of page -

-

- 1   (one) first highlighted chunk -

-
-
- -
- - - - - -
-

1

-

2

- -
-

m1a = 1 

-

m1b = 2 

- -
-
- - - - - diff --git a/test/farm/html/gold_omit_1/m2.html b/test/farm/html/gold_omit_1/m2.html deleted file mode 100644 index d75a5ba0..00000000 --- a/test/farm/html/gold_omit_1/m2.html +++ /dev/null @@ -1,85 +0,0 @@ - - - - - - - - Coverage for m2: 100% - - - - - - - - - - - -
- -

Hot-keys on this page

-
-

- r - m - x - p   toggle line displays -

-

- j - k   next/prev highlighted chunk -

-

- 0   (zero) top of page -

-

- 1   (one) first highlighted chunk -

-
-
- -
- - - - - -
-

1

-

2

- -
-

m2a = 1 

-

m2b = 2 

- -
-
- - - - - diff --git a/test/farm/html/gold_omit_1/m3.html b/test/farm/html/gold_omit_1/m3.html deleted file mode 100644 index bd99138a..00000000 --- a/test/farm/html/gold_omit_1/m3.html +++ /dev/null @@ -1,85 +0,0 @@ - - - - - - - - Coverage for m3: 100% - - - - - - - - - - - -
- -

Hot-keys on this page

-
-

- r - m - x - p   toggle line displays -

-

- j - k   next/prev highlighted chunk -

-

- 0   (zero) top of page -

-

- 1   (one) first highlighted chunk -

-
-
- -
- - - - - -
-

1

-

2

- -
-

m3a = 1 

-

m3b = 2 

- -
-
- - - - - diff --git a/test/farm/html/gold_omit_1/main.html b/test/farm/html/gold_omit_1/main.html deleted file mode 100644 index 03948718..00000000 --- a/test/farm/html/gold_omit_1/main.html +++ /dev/null @@ -1,101 +0,0 @@ - - - - - - - - Coverage for main: 100% - - - - - - - - - - - -
- -

Hot-keys on this page

-
-

- r - m - x - p   toggle line displays -

-

- j - k   next/prev highlighted chunk -

-

- 0   (zero) top of page -

-

- 1   (one) first highlighted chunk -

-
-
- -
- - - - - -
-

1

-

2

-

3

-

4

-

5

-

6

-

7

-

8

-

9

-

10

- -
-

import m1 

-

import m2 

-

import m3 

-

 

-

a = 5 

-

b = 6 

-

 

-

assert m1.m1a == 1 

-

assert m2.m2a == 1 

-

assert m3.m3a == 1 

- -
-
- - - - - diff --git a/test/farm/html/gold_omit_2/index.html b/test/farm/html/gold_omit_2/index.html deleted file mode 100644 index 3ce5bade..00000000 --- a/test/farm/html/gold_omit_2/index.html +++ /dev/null @@ -1,107 +0,0 @@ - - - - - Coverage report - - - - - - - - - - - -
- -

Hot-keys on this page

-
-

- n - s - m - x - - c   change column sorting -

-
-
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Modulestatementsmissingexcludedcoverage
Total1200100%
m2200100%
m3200100%
main800100%
-
- - - - - diff --git a/test/farm/html/gold_omit_2/m2.html b/test/farm/html/gold_omit_2/m2.html deleted file mode 100644 index d75a5ba0..00000000 --- a/test/farm/html/gold_omit_2/m2.html +++ /dev/null @@ -1,85 +0,0 @@ - - - - - - - - Coverage for m2: 100% - - - - - - - - - - - -
- -

Hot-keys on this page

-
-

- r - m - x - p   toggle line displays -

-

- j - k   next/prev highlighted chunk -

-

- 0   (zero) top of page -

-

- 1   (one) first highlighted chunk -

-
-
- -
- - - - - -
-

1

-

2

- -
-

m2a = 1 

-

m2b = 2 

- -
-
- - - - - diff --git a/test/farm/html/gold_omit_2/m3.html b/test/farm/html/gold_omit_2/m3.html deleted file mode 100644 index bd99138a..00000000 --- a/test/farm/html/gold_omit_2/m3.html +++ /dev/null @@ -1,85 +0,0 @@ - - - - - - - - Coverage for m3: 100% - - - - - - - - - - - -
- -

Hot-keys on this page

-
-

- r - m - x - p   toggle line displays -

-

- j - k   next/prev highlighted chunk -

-

- 0   (zero) top of page -

-

- 1   (one) first highlighted chunk -

-
-
- -
- - - - - -
-

1

-

2

- -
-

m3a = 1 

-

m3b = 2 

- -
-
- - - - - diff --git a/test/farm/html/gold_omit_2/main.html b/test/farm/html/gold_omit_2/main.html deleted file mode 100644 index 03948718..00000000 --- a/test/farm/html/gold_omit_2/main.html +++ /dev/null @@ -1,101 +0,0 @@ - - - - - - - - Coverage for main: 100% - - - - - - - - - - - -
- -

Hot-keys on this page

-
-

- r - m - x - p   toggle line displays -

-

- j - k   next/prev highlighted chunk -

-

- 0   (zero) top of page -

-

- 1   (one) first highlighted chunk -

-
-
- -
- - - - - -
-

1

-

2

-

3

-

4

-

5

-

6

-

7

-

8

-

9

-

10

- -
-

import m1 

-

import m2 

-

import m3 

-

 

-

a = 5 

-

b = 6 

-

 

-

assert m1.m1a == 1 

-

assert m2.m2a == 1 

-

assert m3.m3a == 1 

- -
-
- - - - - diff --git a/test/farm/html/gold_omit_3/index.html b/test/farm/html/gold_omit_3/index.html deleted file mode 100644 index fb826bf5..00000000 --- a/test/farm/html/gold_omit_3/index.html +++ /dev/null @@ -1,98 +0,0 @@ - - - - - Coverage report - - - - - - - - - - - -
- -

Hot-keys on this page

-
-

- n - s - m - x - - c   change column sorting -

-
-
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Modulestatementsmissingexcludedcoverage
Total1000100%
m3200100%
main800100%
-
- - - - - diff --git a/test/farm/html/gold_omit_3/m3.html b/test/farm/html/gold_omit_3/m3.html deleted file mode 100644 index bd99138a..00000000 --- a/test/farm/html/gold_omit_3/m3.html +++ /dev/null @@ -1,85 +0,0 @@ - - - - - - - - Coverage for m3: 100% - - - - - - - - - - - -
- -

Hot-keys on this page

-
-

- r - m - x - p   toggle line displays -

-

- j - k   next/prev highlighted chunk -

-

- 0   (zero) top of page -

-

- 1   (one) first highlighted chunk -

-
-
- -
- - - - - -
-

1

-

2

- -
-

m3a = 1 

-

m3b = 2 

- -
-
- - - - - diff --git a/test/farm/html/gold_omit_3/main.html b/test/farm/html/gold_omit_3/main.html deleted file mode 100644 index 03948718..00000000 --- a/test/farm/html/gold_omit_3/main.html +++ /dev/null @@ -1,101 +0,0 @@ - - - - - - - - Coverage for main: 100% - - - - - - - - - - - -
- -

Hot-keys on this page

-
-

- r - m - x - p   toggle line displays -

-

- j - k   next/prev highlighted chunk -

-

- 0   (zero) top of page -

-

- 1   (one) first highlighted chunk -

-
-
- -
- - - - - -
-

1

-

2

-

3

-

4

-

5

-

6

-

7

-

8

-

9

-

10

- -
-

import m1 

-

import m2 

-

import m3 

-

 

-

a = 5 

-

b = 6 

-

 

-

assert m1.m1a == 1 

-

assert m2.m2a == 1 

-

assert m3.m3a == 1 

- -
-
- - - - - diff --git a/test/farm/html/gold_omit_4/index.html b/test/farm/html/gold_omit_4/index.html deleted file mode 100644 index e437cf10..00000000 --- a/test/farm/html/gold_omit_4/index.html +++ /dev/null @@ -1,107 +0,0 @@ - - - - - Coverage report - - - - - - - - - - - -
- -

Hot-keys on this page

-
-

- n - s - m - x - - c   change column sorting -

-
-
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Modulestatementsmissingexcludedcoverage
Total1200100%
m1200100%
m3200100%
main800100%
-
- - - - - diff --git a/test/farm/html/gold_omit_4/m1.html b/test/farm/html/gold_omit_4/m1.html deleted file mode 100644 index 62ba1e0a..00000000 --- a/test/farm/html/gold_omit_4/m1.html +++ /dev/null @@ -1,85 +0,0 @@ - - - - - - - - Coverage for m1: 100% - - - - - - - - - - - -
- -

Hot-keys on this page

-
-

- r - m - x - p   toggle line displays -

-

- j - k   next/prev highlighted chunk -

-

- 0   (zero) top of page -

-

- 1   (one) first highlighted chunk -

-
-
- -
- - - - - -
-

1

-

2

- -
-

m1a = 1 

-

m1b = 2 

- -
-
- - - - - diff --git a/test/farm/html/gold_omit_4/m3.html b/test/farm/html/gold_omit_4/m3.html deleted file mode 100644 index bd99138a..00000000 --- a/test/farm/html/gold_omit_4/m3.html +++ /dev/null @@ -1,85 +0,0 @@ - - - - - - - - Coverage for m3: 100% - - - - - - - - - - - -
- -

Hot-keys on this page

-
-

- r - m - x - p   toggle line displays -

-

- j - k   next/prev highlighted chunk -

-

- 0   (zero) top of page -

-

- 1   (one) first highlighted chunk -

-
-
- -
- - - - - -
-

1

-

2

- -
-

m3a = 1 

-

m3b = 2 

- -
-
- - - - - diff --git a/test/farm/html/gold_omit_4/main.html b/test/farm/html/gold_omit_4/main.html deleted file mode 100644 index 03948718..00000000 --- a/test/farm/html/gold_omit_4/main.html +++ /dev/null @@ -1,101 +0,0 @@ - - - - - - - - Coverage for main: 100% - - - - - - - - - - - -
- -

Hot-keys on this page

-
-

- r - m - x - p   toggle line displays -

-

- j - k   next/prev highlighted chunk -

-

- 0   (zero) top of page -

-

- 1   (one) first highlighted chunk -

-
-
- -
- - - - - -
-

1

-

2

-

3

-

4

-

5

-

6

-

7

-

8

-

9

-

10

- -
-

import m1 

-

import m2 

-

import m3 

-

 

-

a = 5 

-

b = 6 

-

 

-

assert m1.m1a == 1 

-

assert m2.m2a == 1 

-

assert m3.m3a == 1 

- -
-
- - - - - diff --git a/test/farm/html/gold_omit_5/index.html b/test/farm/html/gold_omit_5/index.html deleted file mode 100644 index 4bde6b73..00000000 --- a/test/farm/html/gold_omit_5/index.html +++ /dev/null @@ -1,98 +0,0 @@ - - - - - Coverage report - - - - - - - - - - - -
- -

Hot-keys on this page

-
-

- n - s - m - x - - c   change column sorting -

-
-
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Modulestatementsmissingexcludedcoverage
Total1000100%
m1200100%
main800100%
-
- - - - - diff --git a/test/farm/html/gold_omit_5/m1.html b/test/farm/html/gold_omit_5/m1.html deleted file mode 100644 index 62ba1e0a..00000000 --- a/test/farm/html/gold_omit_5/m1.html +++ /dev/null @@ -1,85 +0,0 @@ - - - - - - - - Coverage for m1: 100% - - - - - - - - - - - -
- -

Hot-keys on this page

-
-

- r - m - x - p   toggle line displays -

-

- j - k   next/prev highlighted chunk -

-

- 0   (zero) top of page -

-

- 1   (one) first highlighted chunk -

-
-
- -
- - - - - -
-

1

-

2

- -
-

m1a = 1 

-

m1b = 2 

- -
-
- - - - - diff --git a/test/farm/html/gold_omit_5/main.html b/test/farm/html/gold_omit_5/main.html deleted file mode 100644 index 03948718..00000000 --- a/test/farm/html/gold_omit_5/main.html +++ /dev/null @@ -1,101 +0,0 @@ - - - - - - - - Coverage for main: 100% - - - - - - - - - - - -
- -

Hot-keys on this page

-
-

- r - m - x - p   toggle line displays -

-

- j - k   next/prev highlighted chunk -

-

- 0   (zero) top of page -

-

- 1   (one) first highlighted chunk -

-
-
- -
- - - - - -
-

1

-

2

-

3

-

4

-

5

-

6

-

7

-

8

-

9

-

10

- -
-

import m1 

-

import m2 

-

import m3 

-

 

-

a = 5 

-

b = 6 

-

 

-

assert m1.m1a == 1 

-

assert m2.m2a == 1 

-

assert m3.m3a == 1 

- -
-
- - - - - diff --git a/test/farm/html/gold_other/blah_blah_other.html b/test/farm/html/gold_other/blah_blah_other.html deleted file mode 100644 index ab5ae371..00000000 --- a/test/farm/html/gold_other/blah_blah_other.html +++ /dev/null @@ -1,89 +0,0 @@ - - - - - - - - Coverage for /home/ned/coverage/trunk/test/farm/html/othersrc/other: 100% - - - - - - - - - - - -
- -

Hot-keys on this page

-
-

- r - m - x - p   toggle line displays -

-

- j - k   next/prev highlighted chunk -

-

- 0   (zero) top of page -

-

- 1   (one) first highlighted chunk -

-
-
- -
- - - - - -
-

1

-

2

-

3

-

4

- -
-

# A file in another directory.  We're checking that it ends up in the 

-

# HTML report. 

-

 

-

print("This is the other src!") 

- -
-
- - - - - diff --git a/test/farm/html/gold_other/here.html b/test/farm/html/gold_other/here.html deleted file mode 100644 index 1da5bcd6..00000000 --- a/test/farm/html/gold_other/here.html +++ /dev/null @@ -1,97 +0,0 @@ - - - - - - - - Coverage for here: 75% - - - - - - - - - - - -
- -

Hot-keys on this page

-
-

- r - m - x - p   toggle line displays -

-

- j - k   next/prev highlighted chunk -

-

- 0   (zero) top of page -

-

- 1   (one) first highlighted chunk -

-
-
- -
- - - - - -
-

1

-

2

-

3

-

4

-

5

-

6

-

7

-

8

- -
-

# A test file for HTML reporting by coverage. 

-

 

-

import other 

-

 

-

if 1 < 2: 

-

    h = 3 

-

else: 

-

    h = 4 

- -
-
- - - - - diff --git a/test/farm/html/gold_other/index.html b/test/farm/html/gold_other/index.html deleted file mode 100644 index 7665cfe4..00000000 --- a/test/farm/html/gold_other/index.html +++ /dev/null @@ -1,98 +0,0 @@ - - - - - Coverage report - - - - - - - - - - - -
- -

Hot-keys on this page

-
-

- n - s - m - x - - c   change column sorting -

-
-
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Modulestatementsmissingexcludedcoverage
Total51080%
/home/ned/coverage/trunk/test/farm/html/othersrc/other100100%
here41075%
-
- - - - - diff --git a/test/farm/html/gold_partial/index.html b/test/farm/html/gold_partial/index.html deleted file mode 100644 index 5556150a..00000000 --- a/test/farm/html/gold_partial/index.html +++ /dev/null @@ -1,101 +0,0 @@ - - - - - Coverage report - - - - - - - - - - - -
- -

Hot-keys on this page

-
-

- n - s - m - x - - b - p - - c   change column sorting -

-
-
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Modulestatementsmissingexcludedbranchespartialcoverage
Total80060100%
partial80060100%
-
- - - - - diff --git a/test/farm/html/gold_partial/partial.html b/test/farm/html/gold_partial/partial.html deleted file mode 100644 index b9640ce4..00000000 --- a/test/farm/html/gold_partial/partial.html +++ /dev/null @@ -1,121 +0,0 @@ - - - - - - - - Coverage for partial: 100% - - - - - - - - - - - -
- -

Hot-keys on this page

-
-

- r - m - x - p   toggle line displays -

-

- j - k   next/prev highlighted chunk -

-

- 0   (zero) top of page -

-

- 1   (one) first highlighted chunk -

-
-
- -
- - - - - -
-

1

-

2

-

3

-

4

-

5

-

6

-

7

-

8

-

9

-

10

-

11

-

12

-

13

-

14

-

15

-

16

-

17

-

18

-

19

- -
-

# partial branches 

-

 

-

a = 3 

-

 

-

while True: 

-

    break 

-

 

-

while 1: 

-

    break 

-

 

-

while a:        # pragma: no branch 

-

    break 

-

 

-

if 0: 

-

    never_happen() 

-

 

-

if 1: 

-

    a = 13 

-

 

- -
-
- - - - - diff --git a/test/farm/html/gold_styled/a.html b/test/farm/html/gold_styled/a.html deleted file mode 100644 index c794525e..00000000 --- a/test/farm/html/gold_styled/a.html +++ /dev/null @@ -1,95 +0,0 @@ - - - - - - - - Coverage for a: 67% - - - - - - - - - - - -
- -

Hot-keys on this page

-
-

- r - m - x - p   toggle line displays -

-

- j - k   next/prev highlighted chunk -

-

- 0   (zero) top of page -

-

- 1   (one) first highlighted chunk -

-
-
- -
- - - - - -
-

1

-

2

-

3

-

4

-

5

-

6

-

7

- -
-

# A test file for HTML reporting by coverage. 

-

 

-

if 1 < 2: 

-

    # Needed a < to look at HTML entities. 

-

    a = 3 

-

else: 

-

    a = 4 

- -
-
- - - - - diff --git a/test/farm/html/gold_styled/extra.css b/test/farm/html/gold_styled/extra.css deleted file mode 100644 index 46c41fcd..00000000 --- a/test/farm/html/gold_styled/extra.css +++ /dev/null @@ -1 +0,0 @@ -/* Doesn't matter what goes in here, it gets copied. */ diff --git a/test/farm/html/gold_styled/index.html b/test/farm/html/gold_styled/index.html deleted file mode 100644 index a821e9df..00000000 --- a/test/farm/html/gold_styled/index.html +++ /dev/null @@ -1,89 +0,0 @@ - - - - - Coverage report - - - - - - - - - - - -
- -

Hot-keys on this page

-
-

- n - s - m - x - - c   change column sorting -

-
-
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Modulestatementsmissingexcludedcoverage
Total31067%
a31067%
-
- - - - - diff --git a/test/farm/html/gold_styled/style.css b/test/farm/html/gold_styled/style.css deleted file mode 100644 index c40357b8..00000000 --- a/test/farm/html/gold_styled/style.css +++ /dev/null @@ -1,275 +0,0 @@ -/* CSS styles for Coverage. */ -/* Page-wide styles */ -html, body, h1, h2, h3, p, td, th { - margin: 0; - padding: 0; - border: 0; - outline: 0; - font-weight: inherit; - font-style: inherit; - font-size: 100%; - font-family: inherit; - vertical-align: baseline; - } - -/* Set baseline grid to 16 pt. */ -body { - font-family: georgia, serif; - font-size: 1em; - } - -html>body { - font-size: 16px; - } - -/* Set base font size to 12/16 */ -p { - font-size: .75em; /* 12/16 */ - line-height: 1.3333em; /* 16/12 */ - } - -table { - border-collapse: collapse; - } - -a.nav { - text-decoration: none; - color: inherit; - } -a.nav:hover { - text-decoration: underline; - color: inherit; - } - -/* Page structure */ -#header { - background: #f8f8f8; - width: 100%; - border-bottom: 1px solid #eee; - } - -#source { - padding: 1em; - font-family: "courier new", monospace; - } - -#indexfile #footer { - margin: 1em 3em; - } - -#pyfile #footer { - margin: 1em 1em; - } - -#footer .content { - padding: 0; - font-size: 85%; - font-family: verdana, sans-serif; - color: #666666; - font-style: italic; - } - -#index { - margin: 1em 0 0 3em; - } - -/* Header styles */ -#header .content { - padding: 1em 3em; - } - -h1 { - font-size: 1.25em; -} - -h2.stats { - margin-top: .5em; - font-size: 1em; -} -.stats span { - border: 1px solid; - padding: .1em .25em; - margin: 0 .1em; - cursor: pointer; - border-color: #999 #ccc #ccc #999; -} -.stats span.hide_run, .stats span.hide_exc, -.stats span.hide_mis, .stats span.hide_par, -.stats span.par.hide_run.hide_par { - border-color: #ccc #999 #999 #ccc; -} -.stats span.par.hide_run { - border-color: #999 #ccc #ccc #999; -} - -/* Help panel */ -#keyboard_icon { - float: right; - cursor: pointer; -} - -.help_panel { - position: absolute; - background: #ffc; - padding: .5em; - border: 1px solid #883; - display: none; -} - -#indexfile .help_panel { - width: 20em; height: 4em; -} - -#pyfile .help_panel { - width: 16em; height: 8em; -} - -.help_panel .legend { - font-style: italic; - margin-bottom: 1em; -} - -#panel_icon { - float: right; - cursor: pointer; -} - -.keyhelp { - margin: .75em; -} - -.keyhelp .key { - border: 1px solid black; - border-color: #888 #333 #333 #888; - padding: .1em .35em; - font-family: monospace; - font-weight: bold; - background: #eee; -} - -/* Source file styles */ -.linenos p { - text-align: right; - margin: 0; - padding: 0 .5em; - color: #999999; - font-family: verdana, sans-serif; - font-size: .625em; /* 10/16 */ - line-height: 1.6em; /* 16/10 */ - } -.linenos p.highlight { - background: #ffdd00; - } -.linenos p a { - text-decoration: none; - color: #999999; - } -.linenos p a:hover { - text-decoration: underline; - color: #999999; - } - -td.text { - width: 100%; - } -.text p { - margin: 0; - padding: 0 0 0 .5em; - border-left: 2px solid #ffffff; - white-space: nowrap; - } - -.text p.mis { - background: #ffdddd; - border-left: 2px solid #ff0000; - } -.text p.run, .text p.run.hide_par { - background: #ddffdd; - border-left: 2px solid #00ff00; - } -.text p.exc { - background: #eeeeee; - border-left: 2px solid #808080; - } -.text p.par, .text p.par.hide_run { - background: #ffffaa; - border-left: 2px solid #eeee99; - } -.text p.hide_run, .text p.hide_exc, .text p.hide_mis, .text p.hide_par, -.text p.hide_run.hide_par { - background: inherit; - } - -.text span.annotate { - font-family: georgia; - font-style: italic; - color: #666; - float: right; - padding-right: .5em; - } -.text p.hide_par span.annotate { - display: none; - } - -/* Syntax coloring */ -.text .com { - color: green; - font-style: italic; - line-height: 1px; - } -.text .key { - font-weight: bold; - line-height: 1px; - } -.text .str { - color: #000080; - } - -/* index styles */ -#index td, #index th { - text-align: right; - width: 5em; - padding: .25em .5em; - border-bottom: 1px solid #eee; - } -#index th { - font-style: italic; - color: #333; - border-bottom: 1px solid #ccc; - cursor: pointer; - } -#index th:hover { - background: #eee; - border-bottom: 1px solid #999; - } -#index td.left, #index th.left { - padding-left: 0; - } -#index td.right, #index th.right { - padding-right: 0; - } -#index th.headerSortDown, #index th.headerSortUp { - border-bottom: 1px solid #000; - } -#index td.name, #index th.name { - text-align: left; - width: auto; - } -#index td.name a { - text-decoration: none; - color: #000; - } -#index td.name a:hover { - text-decoration: underline; - color: #000; - } -#index tr.total { - } -#index tr.total td { - font-weight: bold; - border-top: 1px solid #ccc; - border-bottom: none; - } -#index tr.file:hover { - background: #eeeeee; - } diff --git a/test/farm/html/gold_unicode/index.html b/test/farm/html/gold_unicode/index.html deleted file mode 100644 index 9ba1bb39..00000000 --- a/test/farm/html/gold_unicode/index.html +++ /dev/null @@ -1,89 +0,0 @@ - - - - - Coverage report - - - - - - - - - - - -
- -

Hot-keys on this page

-
-

- n - s - m - x - - c   change column sorting -

-
-
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Modulestatementsmissingexcludedcoverage
Total100100%
unicode100100%
-
- - - - - diff --git a/test/farm/html/gold_unicode/unicode.html b/test/farm/html/gold_unicode/unicode.html deleted file mode 100644 index 518a59a1..00000000 --- a/test/farm/html/gold_unicode/unicode.html +++ /dev/null @@ -1,91 +0,0 @@ - - - - - - - - Coverage for unicode: 100% - - - - - - - - - - - -
- -

Hot-keys on this page

-
-

- r - m - x - p   toggle line displays -

-

- j - k   next/prev highlighted chunk -

-

- 0   (zero) top of page -

-

- 1   (one) first highlighted chunk -

-
-
- -
- - - - - -
-

1

-

2

-

3

-

4

-

5

- -
-

# A python source file with exotic characters 

-

# -*- coding: utf-8 -*- 

-

 

-

upside_down = "ʎd˙ǝbɐɹǝʌoɔ" 

-

surrogate = "db40,dd00: x�� 󠄀" 

- -
-
- - - - - diff --git a/test/farm/html/gold_x_xml/coverage.xml b/test/farm/html/gold_x_xml/coverage.xml deleted file mode 100644 index 912112f2..00000000 --- a/test/farm/html/gold_x_xml/coverage.xml +++ /dev/null @@ -1,20 +0,0 @@ - - - - - - - - - - - - - - - - - - - diff --git a/test/farm/html/gold_y_xml_branch/coverage.xml b/test/farm/html/gold_y_xml_branch/coverage.xml deleted file mode 100644 index ecbe0073..00000000 --- a/test/farm/html/gold_y_xml_branch/coverage.xml +++ /dev/null @@ -1,22 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - diff --git a/test/farm/html/othersrc/other.py b/test/farm/html/othersrc/other.py deleted file mode 100644 index 6d3f86e7..00000000 --- a/test/farm/html/othersrc/other.py +++ /dev/null @@ -1,4 +0,0 @@ -# A file in another directory. We're checking that it ends up in the -# HTML report. - -print("This is the other src!") diff --git a/test/farm/html/run_a.py b/test/farm/html/run_a.py deleted file mode 100644 index 59cc1703..00000000 --- a/test/farm/html/run_a.py +++ /dev/null @@ -1,25 +0,0 @@ -def html_it(): - """Run coverage and make an HTML report for a.""" - import coverage - cov = coverage.coverage() - cov.start() - import a # pragma: nested - cov.stop() # pragma: nested - cov.html_report(a, directory="../html_a") - -runfunc(html_it, rundir="src") - -# HTML files will change often. Check that the sizes are reasonable, -# and check that certain key strings are in the output. -compare("gold_a", "html_a", size_within=10, file_pattern="*.html") -contains("html_a/a.html", - "if 1 < 2", - "    a = 3", - "67%" - ) -contains("html_a/index.html", - "a", - "67%" - ) - -clean("html_a") diff --git a/test/farm/html/run_a_xml_1.py b/test/farm/html/run_a_xml_1.py deleted file mode 100644 index 3d187023..00000000 --- a/test/farm/html/run_a_xml_1.py +++ /dev/null @@ -1,21 +0,0 @@ -def html_it(): - """Run coverage and make an XML report for a.""" - import coverage - cov = coverage.coverage() - cov.start() - import a # pragma: nested - cov.stop() # pragma: nested - cov.xml_report(a, outfile="../xml_1/coverage.xml") - -import os -if not os.path.exists("xml_1"): - os.makedirs("xml_1") - -runfunc(html_it, rundir="src") - -compare("gold_x_xml", "xml_1", scrubs=[ - (r' timestamp="\d+"', ' timestamp="TIMESTAMP"'), - (r' version="[-.\w]+"', ' version="VERSION"'), - (r'/code/coverage/?[-.\w]*', '/code/coverage/VER'), - ]) -clean("xml_1") diff --git a/test/farm/html/run_a_xml_2.py b/test/farm/html/run_a_xml_2.py deleted file mode 100644 index 53691ead..00000000 --- a/test/farm/html/run_a_xml_2.py +++ /dev/null @@ -1,21 +0,0 @@ -def html_it(): - """Run coverage and make an XML report for a.""" - import coverage - cov = coverage.coverage(config_file="run_a_xml_2.ini") - cov.start() - import a # pragma: nested - cov.stop() # pragma: nested - cov.xml_report(a) - -import os -if not os.path.exists("xml_2"): - os.makedirs("xml_2") - -runfunc(html_it, rundir="src") - -compare("gold_x_xml", "xml_2", scrubs=[ - (r' timestamp="\d+"', ' timestamp="TIMESTAMP"'), - (r' version="[-.\w]+"', ' version="VERSION"'), - (r'/code/coverage/?[-.\w]*', '/code/coverage/VER'), - ]) -clean("xml_2") diff --git a/test/farm/html/run_b_branch.py b/test/farm/html/run_b_branch.py deleted file mode 100644 index d0955a2a..00000000 --- a/test/farm/html/run_b_branch.py +++ /dev/null @@ -1,28 +0,0 @@ -def html_it(): - """Run coverage with branches and make an HTML report for b.""" - import coverage - cov = coverage.coverage(branch=True) - cov.start() - import b # pragma: nested - cov.stop() # pragma: nested - cov.html_report(b, directory="../html_b_branch") - -runfunc(html_it, rundir="src") - -# HTML files will change often. Check that the sizes are reasonable, -# and check that certain key strings are in the output. -compare("gold_b_branch", "html_b_branch", size_within=10, file_pattern="*.html") -contains("html_b_branch/b.html", - "if x < 2", - "    a = 3", - "70%", - "8", - "exit", - "23   25", - ) -contains("html_b_branch/index.html", - "b", - "70%" - ) - -clean("html_b_branch") diff --git a/test/farm/html/run_bom.py b/test/farm/html/run_bom.py deleted file mode 100644 index c35079be..00000000 --- a/test/farm/html/run_bom.py +++ /dev/null @@ -1,21 +0,0 @@ -import sys - -def html_it(): - """Run coverage and make an HTML report for bom.py.""" - import coverage - cov = coverage.coverage() - cov.start() - import bom # pragma: nested - cov.stop() # pragma: nested - cov.html_report(bom, directory="../html_bom") - -runfunc(html_it, rundir="src") - -# HTML files will change often. Check that the sizes are reasonable, -# and check that certain key strings are in the output. -compare("gold_bom", "html_bom", size_within=10, file_pattern="*.html") -contains("html_bom/bom.html", - ""3×4 = 12, ÷2 = 6±0"", - ) - -clean("html_bom") diff --git a/test/farm/html/run_isolatin1.py b/test/farm/html/run_isolatin1.py deleted file mode 100644 index 063e6e00..00000000 --- a/test/farm/html/run_isolatin1.py +++ /dev/null @@ -1,21 +0,0 @@ -import sys - -def html_it(): - """Run coverage and make an HTML report for isolatin1.py.""" - import coverage - cov = coverage.coverage() - cov.start() - import isolatin1 # pragma: nested - cov.stop() # pragma: nested - cov.html_report(isolatin1, directory="../html_isolatin1") - -runfunc(html_it, rundir="src") - -# HTML files will change often. Check that the sizes are reasonable, -# and check that certain key strings are in the output. -compare("gold_isolatin1", "html_isolatin1", size_within=10, file_pattern="*.html") -contains("html_isolatin1/isolatin1.html", - ""3×4 = 12, ÷2 = 6±0"", - ) - -clean("html_isolatin1") diff --git a/test/farm/html/run_omit_1.py b/test/farm/html/run_omit_1.py deleted file mode 100644 index a5556af2..00000000 --- a/test/farm/html/run_omit_1.py +++ /dev/null @@ -1,12 +0,0 @@ -def html_it(): - """Run coverage and make an HTML report for main.""" - import coverage - cov = coverage.coverage() - cov.start() - import main # pragma: nested - cov.stop() # pragma: nested - cov.html_report(directory="../html_omit_1") - -runfunc(html_it, rundir="src") -compare("gold_omit_1", "html_omit_1", size_within=10, file_pattern="*.html") -clean("html_omit_1") diff --git a/test/farm/html/run_omit_2.py b/test/farm/html/run_omit_2.py deleted file mode 100644 index 19f0ebdc..00000000 --- a/test/farm/html/run_omit_2.py +++ /dev/null @@ -1,12 +0,0 @@ -def html_it(): - """Run coverage and make an HTML report for main.""" - import coverage - cov = coverage.coverage() - cov.start() - import main # pragma: nested - cov.stop() # pragma: nested - cov.html_report(directory="../html_omit_2", omit=["m1.py"]) - -runfunc(html_it, rundir="src") -compare("gold_omit_2", "html_omit_2", size_within=10, file_pattern="*.html") -clean("html_omit_2") diff --git a/test/farm/html/run_omit_3.py b/test/farm/html/run_omit_3.py deleted file mode 100644 index 87ab8c32..00000000 --- a/test/farm/html/run_omit_3.py +++ /dev/null @@ -1,12 +0,0 @@ -def html_it(): - """Run coverage and make an HTML report for main.""" - import coverage - cov = coverage.coverage() - cov.start() - import main # pragma: nested - cov.stop() # pragma: nested - cov.html_report(directory="../html_omit_3", omit=["m1.py", "m2.py"]) - -runfunc(html_it, rundir="src") -compare("gold_omit_3", "html_omit_3", size_within=10, file_pattern="*.html") -clean("html_omit_3") diff --git a/test/farm/html/run_omit_4.py b/test/farm/html/run_omit_4.py deleted file mode 100644 index ede223f8..00000000 --- a/test/farm/html/run_omit_4.py +++ /dev/null @@ -1,12 +0,0 @@ -def html_it(): - """Run coverage and make an HTML report for main.""" - import coverage - cov = coverage.coverage(config_file="omit4.ini") - cov.start() - import main # pragma: nested - cov.stop() # pragma: nested - cov.html_report(directory="../html_omit_4") - -runfunc(html_it, rundir="src") -compare("gold_omit_4", "html_omit_4", size_within=10, file_pattern="*.html") -clean("html_omit_4") diff --git a/test/farm/html/run_omit_5.py b/test/farm/html/run_omit_5.py deleted file mode 100644 index 8da51994..00000000 --- a/test/farm/html/run_omit_5.py +++ /dev/null @@ -1,12 +0,0 @@ -def html_it(): - """Run coverage and make an HTML report for main.""" - import coverage - cov = coverage.coverage(config_file="omit5.ini") - cov.start() - import main # pragma: nested - cov.stop() # pragma: nested - cov.html_report() - -runfunc(html_it, rundir="src") -compare("gold_omit_5", "html_omit_5", size_within=10, file_pattern="*.html") -clean("html_omit_5") diff --git a/test/farm/html/run_other.py b/test/farm/html/run_other.py deleted file mode 100644 index 72bb3ec1..00000000 --- a/test/farm/html/run_other.py +++ /dev/null @@ -1,26 +0,0 @@ -def html_it(): - """Run coverage and make an HTML report for everything.""" - import coverage - cov = coverage.coverage() - cov.start() - import here # pragma: nested - cov.stop() # pragma: nested - cov.html_report(directory="../html_other") - -runfunc(html_it, rundir="src", addtopath="../othersrc") - -# Different platforms will name the "other" file differently. Rename it -import os, glob - -for p in glob.glob("html_other/*_other.html"): - os.rename(p, "html_other/blah_blah_other.html") - -# HTML files will change often. Check that the sizes are reasonable, -# and check that certain key strings are in the output. -compare("gold_other", "html_other", size_within=10, file_pattern="*.html") -contains("html_other/index.html", - "here", - "other.html'>", "other", - ) - -clean("html_other") diff --git a/test/farm/html/run_partial.py b/test/farm/html/run_partial.py deleted file mode 100644 index 41e6ba96..00000000 --- a/test/farm/html/run_partial.py +++ /dev/null @@ -1,32 +0,0 @@ -import sys - -def html_it(): - """Run coverage and make an HTML report for partial.""" - import coverage - cov = coverage.coverage(branch=True) - cov.start() - import partial # pragma: nested - cov.stop() # pragma: nested - cov.html_report(partial, directory="../html_partial") - -runfunc(html_it, rundir="src") - -# HTML files will change often. Check that the sizes are reasonable, -# and check that certain key strings are in the output. -compare("gold_partial", "html_partial", size_within=10, file_pattern="*.html") -contains("html_partial/partial.html", - "

", - "

", - "

", - # The "if 0" and "if 1" statements are optimized away. - "

", - ) -contains("html_partial/index.html", - "partial", - ) -if sys.version_info >= (2, 4): - contains("html_partial/index.html", - "100%" - ) - -clean("html_partial") diff --git a/test/farm/html/run_styled.py b/test/farm/html/run_styled.py deleted file mode 100644 index ac538ff5..00000000 --- a/test/farm/html/run_styled.py +++ /dev/null @@ -1,28 +0,0 @@ -def html_it(): - """Run coverage and make an HTML report for a.""" - import coverage - cov = coverage.coverage() - cov.start() - import a # pragma: nested - cov.stop() # pragma: nested - cov.html_report(a, directory="../html_styled", extra_css="extra.css") - -runfunc(html_it, rundir="src") - -# HTML files will change often. Check that the sizes are reasonable, -# and check that certain key strings are in the output. -compare("gold_styled", "html_styled", size_within=10, file_pattern="*.html") -compare("gold_styled", "html_styled", size_within=10, file_pattern="*.css") -contains("html_styled/a.html", - "", - "if 1 < 2", - "    a = 3", - "67%" - ) -contains("html_styled/index.html", - "", - "a", - "67%" - ) - -clean("html_styled") diff --git a/test/farm/html/run_tabbed.py b/test/farm/html/run_tabbed.py deleted file mode 100644 index 0e9b5278..00000000 --- a/test/farm/html/run_tabbed.py +++ /dev/null @@ -1,24 +0,0 @@ -def html_it(): - """Run coverage and make an HTML report for tabbed.""" - import coverage - cov = coverage.coverage() - cov.start() - import tabbed # pragma: nested - cov.stop() # pragma: nested - cov.html_report(tabbed, directory="../html_tabbed") - -runfunc(html_it, rundir="src") - -# Editors like to change things, make sure our source file still has tabs. -contains("src/tabbed.py", "\tif x:\t\t\t\t\t# look nice") - -contains("html_tabbed/tabbed.html", - ">        if " - "x:" - "                    " - "               " - "# look nice" - ) - -doesnt_contain("html_tabbed/tabbed.html", "\t") -clean("html_tabbed") diff --git a/test/farm/html/run_unicode.py b/test/farm/html/run_unicode.py deleted file mode 100644 index cef26ee5..00000000 --- a/test/farm/html/run_unicode.py +++ /dev/null @@ -1,30 +0,0 @@ -import sys - -def html_it(): - """Run coverage and make an HTML report for unicode.py.""" - import coverage - cov = coverage.coverage() - cov.start() - import unicode # pragma: nested - cov.stop() # pragma: nested - cov.html_report(unicode, directory="../html_unicode") - -runfunc(html_it, rundir="src") - -# HTML files will change often. Check that the sizes are reasonable, -# and check that certain key strings are in the output. -compare("gold_unicode", "html_unicode", size_within=10, file_pattern="*.html") -contains("html_unicode/unicode.html", - ""ʎd˙ǝbɐɹǝʌoɔ"", - ) - -if sys.maxunicode == 65535: - contains("html_unicode/unicode.html", - ""db40,dd00: x��"", - ) -else: - contains("html_unicode/unicode.html", - ""db40,dd00: x󠄀"", - ) - -clean("html_unicode") diff --git a/test/farm/html/run_y_xml_branch.py b/test/farm/html/run_y_xml_branch.py deleted file mode 100644 index 88a2e44e..00000000 --- a/test/farm/html/run_y_xml_branch.py +++ /dev/null @@ -1,21 +0,0 @@ -def xml_it(): - """Run coverage and make an XML report for y.""" - import coverage - cov = coverage.coverage(branch=True) - cov.start() - import y # pragma: nested - cov.stop() # pragma: nested - cov.xml_report(y, outfile="../xml_branch/coverage.xml") - -import os -if not os.path.exists("xml_branch"): - os.makedirs("xml_branch") - -runfunc(xml_it, rundir="src") - -compare("gold_y_xml_branch", "xml_branch", scrubs=[ - (r' timestamp="\d+"', ' timestamp="TIMESTAMP"'), - (r' version="[-.\w]+"', ' version="VERSION"'), - (r'/code/coverage/?[-.\w]*', '/code/coverage/VER'), - ]) -clean("xml_branch") diff --git a/test/farm/html/src/a.py b/test/farm/html/src/a.py deleted file mode 100644 index 9e71aebd..00000000 --- a/test/farm/html/src/a.py +++ /dev/null @@ -1,7 +0,0 @@ -# A test file for HTML reporting by coverage. - -if 1 < 2: - # Needed a < to look at HTML entities. - a = 3 -else: - a = 4 diff --git a/test/farm/html/src/b.py b/test/farm/html/src/b.py deleted file mode 100644 index 3bf73a9f..00000000 --- a/test/farm/html/src/b.py +++ /dev/null @@ -1,29 +0,0 @@ -# A test file for HTML reporting by coverage. - -def one(x): - # This will be a branch that misses the else. - if x < 2: - a = 3 - else: - a = 4 - -one(1) - -def two(x): - # A missed else that branches to "exit" - if x: - a = 5 - -two(1) - -def three(): - try: - # This if has two branches, *neither* one taken. - if name_error_this_variable_doesnt_exist: - a = 1 - else: - a = 2 - except: - pass - -three() diff --git a/test/farm/html/src/bom.py b/test/farm/html/src/bom.py deleted file mode 100644 index 2db8b717..00000000 --- a/test/farm/html/src/bom.py +++ /dev/null @@ -1,11 +0,0 @@ -# A python source file in utf-8, with BOM -math = "3×4 = 12, ÷2 = 6±0" - -import sys - -if sys.version_info >= (3, 0): - assert len(math) == 18 - assert len(math.encode('utf-8')) == 21 -else: - assert len(math) == 21 - assert len(math.decode('utf-8')) == 18 diff --git a/test/farm/html/src/coverage.xml b/test/farm/html/src/coverage.xml deleted file mode 100644 index 128cf750..00000000 --- a/test/farm/html/src/coverage.xml +++ /dev/null @@ -1,20 +0,0 @@ - - - - - - - - - - - - - - - - - - - diff --git a/test/farm/html/src/extra.css b/test/farm/html/src/extra.css deleted file mode 100644 index 46c41fcd..00000000 --- a/test/farm/html/src/extra.css +++ /dev/null @@ -1 +0,0 @@ -/* Doesn't matter what goes in here, it gets copied. */ diff --git a/test/farm/html/src/here.py b/test/farm/html/src/here.py deleted file mode 100644 index d0d26ea7..00000000 --- a/test/farm/html/src/here.py +++ /dev/null @@ -1,8 +0,0 @@ -# A test file for HTML reporting by coverage. - -import other - -if 1 < 2: - h = 3 -else: - h = 4 diff --git a/test/farm/html/src/isolatin1.py b/test/farm/html/src/isolatin1.py deleted file mode 100644 index 057c097b..00000000 --- a/test/farm/html/src/isolatin1.py +++ /dev/null @@ -1,5 +0,0 @@ -# A python source file in another encoding. -# -*- coding: iso8859-1 -*- - -math = "34 = 12, 2 = 60" -assert len(math) == 18 diff --git a/test/farm/html/src/m1.py b/test/farm/html/src/m1.py deleted file mode 100644 index 927e1f6b..00000000 --- a/test/farm/html/src/m1.py +++ /dev/null @@ -1,2 +0,0 @@ -m1a = 1 -m1b = 2 diff --git a/test/farm/html/src/m2.py b/test/farm/html/src/m2.py deleted file mode 100644 index ffddf6cf..00000000 --- a/test/farm/html/src/m2.py +++ /dev/null @@ -1,2 +0,0 @@ -m2a = 1 -m2b = 2 diff --git a/test/farm/html/src/m3.py b/test/farm/html/src/m3.py deleted file mode 100644 index 395d7d25..00000000 --- a/test/farm/html/src/m3.py +++ /dev/null @@ -1,2 +0,0 @@ -m3a = 1 -m3b = 2 diff --git a/test/farm/html/src/main.py b/test/farm/html/src/main.py deleted file mode 100644 index ce894465..00000000 --- a/test/farm/html/src/main.py +++ /dev/null @@ -1,10 +0,0 @@ -import m1 -import m2 -import m3 - -a = 5 -b = 6 - -assert m1.m1a == 1 -assert m2.m2a == 1 -assert m3.m3a == 1 diff --git a/test/farm/html/src/omit4.ini b/test/farm/html/src/omit4.ini deleted file mode 100644 index 6821ecda..00000000 --- a/test/farm/html/src/omit4.ini +++ /dev/null @@ -1,2 +0,0 @@ -[report] -omit = m2.py diff --git a/test/farm/html/src/omit5.ini b/test/farm/html/src/omit5.ini deleted file mode 100644 index 7e32b414..00000000 --- a/test/farm/html/src/omit5.ini +++ /dev/null @@ -1,8 +0,0 @@ -[report] -omit = - fooey - gooey, m[23]*, kablooey - helloworld - -[html] -directory = ../html_omit_5 diff --git a/test/farm/html/src/partial.py b/test/farm/html/src/partial.py deleted file mode 100644 index 8d62f5c5..00000000 --- a/test/farm/html/src/partial.py +++ /dev/null @@ -1,18 +0,0 @@ -# partial branches - -a = 3 - -while True: - break - -while 1: - break - -while a: # pragma: no branch - break - -if 0: - never_happen() - -if 1: - a = 13 diff --git a/test/farm/html/src/run_a_xml_2.ini b/test/farm/html/src/run_a_xml_2.ini deleted file mode 100644 index 8d28f97b..00000000 --- a/test/farm/html/src/run_a_xml_2.ini +++ /dev/null @@ -1,3 +0,0 @@ -# Put all the XML output in xml_2 -[xml] -output = ../xml_2/coverage.xml diff --git a/test/farm/html/src/tabbed.py b/test/farm/html/src/tabbed.py deleted file mode 100644 index 2035852f..00000000 --- a/test/farm/html/src/tabbed.py +++ /dev/null @@ -1,7 +0,0 @@ -# This file should have tabs. -x = 1 -if x: - a = "Tabbed" # Aligned comments - if x: # look nice - b = "No spaces" # when they - c = "Done" # line up. diff --git a/test/farm/html/src/unicode.py b/test/farm/html/src/unicode.py deleted file mode 100644 index f6a9a052..00000000 --- a/test/farm/html/src/unicode.py +++ /dev/null @@ -1,5 +0,0 @@ -# A python source file with exotic characters -# -*- coding: utf-8 -*- - -upside_down = "ʎd˙ǝbɐɹǝʌoɔ" -surrogate = "db40,dd00: x󠄀" diff --git a/test/farm/html/src/y.py b/test/farm/html/src/y.py deleted file mode 100644 index af7c9689..00000000 --- a/test/farm/html/src/y.py +++ /dev/null @@ -1,9 +0,0 @@ -# A test file for XML reporting by coverage. - -def choice(x): - if x < 2: - return 3 - else: - return 4 - -assert choice(1) == 3 -- cgit v1.2.1