File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed
Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -372,5 +372,6 @@ value greater than 2 if there is an error.
372372.. seealso ::
373373
374374 * :pep: `370 ` -- Per user site-packages directory
375+ * :pep: `829 ` -- Startup entry points and the deprecation of import lines in ``.pth `` files
375376 * :ref: `sys-path-init ` -- The initialization of :data: `sys.path `.
376377
Original file line number Diff line number Diff line change @@ -1005,7 +1005,8 @@ def test_read_start_file_comments_only(self):
10051005 self .assertEqual (site ._pending_entrypoints , {})
10061006
10071007 def test_read_start_file_nonexistent (self ):
1008- site ._read_start_file (self .tmpdir , 'nonexistent.start' )
1008+ with captured_stderr ():
1009+ site ._read_start_file (self .tmpdir , 'nonexistent.start' )
10091010 self .assertEqual (site ._pending_entrypoints , {})
10101011
10111012 @unittest .skipUnless (hasattr (os , 'chflags' ), 'test needs os.chflags()' )
You can’t perform that action at this time.
0 commit comments