diff options
-rw-r--r-- | test/unittest_modutils.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/test/unittest_modutils.py b/test/unittest_modutils.py index 384f582..d1fcaf9 100644 --- a/test/unittest_modutils.py +++ b/test/unittest_modutils.py @@ -145,8 +145,9 @@ class file_from_modpath_tc(ModutilsTestCase): if it exists""" def test_site_packages(self): - self.assertEqual(path.realpath(modutils.file_from_modpath(['logilab', 'common', 'modutils'])), - path.realpath(modutils.__file__.replace('.pyc', '.py'))) + from pytz import tzinfo + self.assertEqual(path.realpath(modutils.file_from_modpath(['pytz', 'tzinfo'])), + path.realpath(tzinfo.__file__.replace('.pyc', '.py'))) def test_std_lib(self): from os import path |