1.1 --- a/tests/test_calendar.py Mon Nov 03 00:48:06 2008 +0100
1.2 +++ b/tests/test_calendar.py Thu Jan 15 23:39:48 2009 +0100
1.3 @@ -1,8 +1,9 @@
1.4 #!/usr/bin/env python
1.5
1.6 -import codecs, vCalendar
1.7 +import codecs, vCalendar, os
1.8
1.9 -f = codecs.open("tests/test.ics", encoding="utf-8")
1.10 +this_dir = os.path.split(__file__)[0]
1.11 +f = codecs.open(os.path.join(this_dir, "test.ics"), encoding="utf-8")
1.12 doc = vCalendar.parse(f)
1.13
1.14 # vim: tabstop=4 expandtab shiftwidth=4