File tree Expand file tree Collapse file tree 2 files changed +8
-7
lines changed
Expand file tree Collapse file tree 2 files changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -174,10 +174,3 @@ def test_distribution_at_str(self):
174174 dist_info_path = self .site_dir / 'distinfo_pkg-1.0.0.dist-info'
175175 dist = Distribution .at (str (dist_info_path ))
176176 assert dist .version == '1.0.0'
177-
178-
179- class LocalProjectTests (fixtures .LocalPackage , unittest .TestCase ):
180- def test_find_local (self ):
181- dist = Distribution ._local ()
182- assert dist .metadata ['Name' ] == 'local-pkg'
183- assert dist .version == '2.0.1'
Original file line number Diff line number Diff line change 1010from .. import (
1111 _compat ,
1212 version ,
13+ Distribution ,
1314 )
1415
1516
@@ -44,3 +45,10 @@ def __getattribute__(self, name):
4445 self .fixtures .enter_context (
4546 fixtures .install_finder (ModuleFreeFinder ()))
4647 _compat .disable_stdlib_finder ()
48+
49+
50+ class LocalProjectTests (fixtures .LocalPackage , unittest .TestCase ):
51+ def test_find_local (self ):
52+ dist = Distribution ._local ()
53+ assert dist .metadata ['Name' ] == 'local-pkg'
54+ assert dist .version == '2.0.1'
You can’t perform that action at this time.
0 commit comments