summaryrefslogtreecommitdiffstats
path: root/tests/test-003-event.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test-003-event.py')
-rw-r--r--tests/test-003-event.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test-003-event.py b/tests/test-003-event.py
index 9da4cf6..8f76397 100644
--- a/tests/test-003-event.py
+++ b/tests/test-003-event.py
@@ -27,7 +27,7 @@ class TestEventXML(unittest.TestCase):
def test_001_minimal(self):
self.event.set_start(datetime.datetime.now(pytz.timezone("Europe/London")))
self.assertIsInstance(self.event.get_start(), datetime.datetime)
- self.assertIsInstance(self.event.__str__(), basestring)
+ self.assertIsInstance(self.event.__str__(), str)
def test_002_attendees_list(self):
self.assertIsInstance(self.event.get_attendees(), list)