summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris McDonough <chrism@plope.com>2013-11-27 03:58:34 -0500
committerChris McDonough <chrism@plope.com>2013-11-27 03:58:34 -0500
commit9eb79397b4e552bb76bef761593b25c071a616b2 (patch)
treeae726f26bc2a4af01b3834dd5ae68b7f3ee083db
parenta3654e4866303695478fb7bd01dcdd602a717b4e (diff)
downloadpyramid-9eb79397b4e552bb76bef761593b25c071a616b2.tar.gz
pyramid-9eb79397b4e552bb76bef761593b25c071a616b2.tar.bz2
pyramid-9eb79397b4e552bb76bef761593b25c071a616b2.zip
coverage
-rw-r--r--pyramid/tests/test_encode.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/pyramid/tests/test_encode.py b/pyramid/tests/test_encode.py
index 908249877..8fb766d88 100644
--- a/pyramid/tests/test_encode.py
+++ b/pyramid/tests/test_encode.py
@@ -72,3 +72,8 @@ class URLQuoteTests(unittest.TestCase):
la = b'La/Pe\xc3\xb1a'
result = self._callFUT(la, '/')
self.assertEqual(result, 'La/Pe%C3%B1a')
+
+ def test_it_with_nonstr_nonbinary(self):
+ la = None
+ result = self._callFUT(la, '/')
+ self.assertEqual(result, 'None')