Commits

ericvsmith  committed 1af20fe

Fixed module __name__ in test.

  • Participants
  • Parent commits dc63e49

Comments (0)

Files changed (1)

File Lib/test/test_namespace_pkgs.py

         import foo.two
         self.assertEqual(foo.one.attr, 'portion1 foo one.py')
         self.assertEqual(foo.two.attr, 'portion2 foo two.py')
-        self.assertIn('top_level_portion1.zip', foo.one.__file__)
+        self.assertIn('nested_portion1.zip/nested_portion1', foo.one.__file__)
         self.assertNotIn('.zip', foo.two.__file__)