Skip to content

Commit 84d6961

Browse files
committed
The distribution name can be egginfo too
1 parent ad7c371 commit 84d6961

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ def test_entry_points_distribution(self):
7373
entries = dict(entry_points()['entries'])
7474
for entry in ("main", "ns:sub"):
7575
ep = entries[entry]
76-
self.assertEqual(ep.dist.name, "distinfo-pkg")
76+
self.assertIn(ep.dist.name, ('distinfo-pkg', 'egginfo-pkg'))
7777
self.assertEqual(ep.dist.version, "1.0.0")
7878

7979
def test_metadata_for_this_package(self):

0 commit comments

Comments
 (0)