Commits

Jakub Wilk committed e313292

Move the test file into a separate directory.

Comments (0)

Files changed (2)

test.py

-#!/usr/bin/python
-# encoding=UTF-8
-
-import elinks
-
-try:
-    unicode
-except NameError:
-    # Python 3.X
-    def u(s):
-        return s
-    def b(s):
-        return s.encode('UTF-8')
-else:
-    # Python 2.X
-    def u(s):
-        return s.decode('UTF-8')
-    def b(s):
-        return s
-
-def test_elinks():
-    s = u('Różowy słoń nie zechce usiąść na tępych gwoździach…')
-    t = b('Rozowy sl/on nie zechce usiasc na tepych gwozdziach...')
-    encoded_s = s.encode('ASCII', 'elinks')
-    assert encoded_s == t , '%r != %r' % (encoded_s, t)
-
-if __name__ == '__main__':
-    test_elinks()
-
-# vim:ts=4 sw=4 et
+#!/usr/bin/python
+# encoding=UTF-8
+
+import elinks
+
+try:
+    unicode
+except NameError:
+    # Python 3.X
+    def u(s):
+        return s
+    def b(s):
+        return s.encode('UTF-8')
+else:
+    # Python 2.X
+    def u(s):
+        return s.decode('UTF-8')
+    def b(s):
+        return s
+
+def test_elinks():
+    s = u('Różowy słoń nie zechce usiąść na tępych gwoździach…')
+    t = b('Rozowy sl/on nie zechce usiasc na tepych gwozdziach...')
+    encoded_s = s.encode('ASCII', 'elinks')
+    assert encoded_s == t , '%r != %r' % (encoded_s, t)
+
+if __name__ == '__main__':
+    test_elinks()
+
+# vim:ts=4 sw=4 et