summaryrefslogtreecommitdiff
path: root/webtest/forms.py
diff options
context:
space:
mode:
authorGael Pasgrimaud <gael@gawel.org>2014-04-16 23:35:50 +0200
committerGael Pasgrimaud <gael@gawel.org>2014-04-16 23:35:50 +0200
commit2965c23e4d995c6ca85296a49167fda7457713a9 (patch)
tree29f88e1a149f9f36c0219350a04c8c63decaad35 /webtest/forms.py
parentd2471e042c5b33100bb742247b7ef44c1ff9ea02 (diff)
downloadwebtest-2965c23e4d995c6ca85296a49167fda7457713a9.tar.gz
improve test coverage. we're back at 100%
Diffstat (limited to 'webtest/forms.py')
-rw-r--r--webtest/forms.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/webtest/forms.py b/webtest/forms.py
index c9c7ee0..8a43001 100644
--- a/webtest/forms.py
+++ b/webtest/forms.py
@@ -426,7 +426,7 @@ class Form(object):
name = attrs.pop('name')
if tag == 'textarea':
- if node.text.startswith('\r\n'):
+ if node.text.startswith('\r\n'): # pragma: no cover
text = node.text[2:]
elif node.text.startswith('\n'):
text = node.text[1:]