summaryrefslogtreecommitdiff
path: root/tests/test_notify.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_notify.py')
-rwxr-xr-xtests/test_notify.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_notify.py b/tests/test_notify.py
index 957b371..7dc45d9 100755
--- a/tests/test_notify.py
+++ b/tests/test_notify.py
@@ -143,7 +143,7 @@ conn.close()
n = psycopg2.extensions.Notify(10, 'foo')
self.assertEqual(10, n.pid)
self.assertEqual('foo', n.channel)
- self.assertEqual(None, n.payload)
+ self.assertEqual('', n.payload)
(pid, channel) = n
self.assertEqual((pid, channel), (10, 'foo'))