summaryrefslogtreecommitdiff
path: root/tests/farm/html/src/bom.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/farm/html/src/bom.py')
-rw-r--r--tests/farm/html/src/bom.py14
1 files changed, 0 insertions, 14 deletions
diff --git a/tests/farm/html/src/bom.py b/tests/farm/html/src/bom.py
deleted file mode 100644
index 098ad84f..00000000
--- a/tests/farm/html/src/bom.py
+++ /dev/null
@@ -1,14 +0,0 @@
-# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
-# For details: https://github.com/nedbat/coveragepy/blob/master/NOTICE.txt
-
-# 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