We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0ed91a2 commit 56f9844Copy full SHA for 56f9844
Lib/test/test_configparser.py
@@ -1028,7 +1028,9 @@ class CustomConfigParser(configparser.ConfigParser):
1028
1029
class ConfigParserTestCaseLegacyInterpolation(ConfigParserTestCase):
1030
config_class = configparser.ConfigParser
1031
- interpolation = configparser.LegacyInterpolation()
+ with warnings.catch_warnings():
1032
+ warnings.simplefilter("ignore", DeprecationWarning)
1033
+ interpolation = configparser.LegacyInterpolation()
1034
1035
def test_set_malformatted_interpolation(self):
1036
cf = self.fromstring("[sect]\n"
0 commit comments