@@ -1064,7 +1064,7 @@ def test_metadata_version(self, tmpdir_cwd, env):
10641064 with open (os .path .join (egg_info_dir , 'PKG-INFO' ), encoding = "utf-8" ) as fp :
10651065 pkg_info_lines = fp .read ().split ('\n ' )
10661066 # Update metadata version if changed
1067- assert self ._extract_mv_version (pkg_info_lines ) == (2 , 1 )
1067+ assert self ._extract_mv_version (pkg_info_lines ) == (2 , 2 )
10681068
10691069 def test_long_description_content_type (self , tmpdir_cwd , env ):
10701070 # Test that specifying a `long_description_content_type` keyword arg to
@@ -1091,7 +1091,7 @@ def test_long_description_content_type(self, tmpdir_cwd, env):
10911091 pkg_info_lines = fp .read ().split ('\n ' )
10921092 expected_line = 'Description-Content-Type: text/markdown'
10931093 assert expected_line in pkg_info_lines
1094- assert 'Metadata-Version: 2.1 ' in pkg_info_lines
1094+ assert 'Metadata-Version: 2.2 ' in pkg_info_lines
10951095
10961096 def test_long_description (self , tmpdir_cwd , env ):
10971097 # Test that specifying `long_description` and `long_description_content_type`
@@ -1110,7 +1110,7 @@ def test_long_description(self, tmpdir_cwd, env):
11101110 egg_info_dir = os .path .join ('.' , 'foo.egg-info' )
11111111 with open (os .path .join (egg_info_dir , 'PKG-INFO' ), encoding = "utf-8" ) as fp :
11121112 pkg_info_lines = fp .read ().split ('\n ' )
1113- assert 'Metadata-Version: 2.1 ' in pkg_info_lines
1113+ assert 'Metadata-Version: 2.2 ' in pkg_info_lines
11141114 assert '' == pkg_info_lines [- 1 ] # last line should be empty
11151115 long_desc_lines = pkg_info_lines [pkg_info_lines .index ('' ) :]
11161116 assert 'This is a long description' in long_desc_lines
0 commit comments