Skip to content

Commit

Permalink
Remove superfluous base class, reducing variance from baseline.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaraco committed Aug 19, 2022
1 parent f0870d5 commit 27d2e83
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions src/test_configparser.py
Original file line number Diff line number Diff line change
Expand Up @@ -1121,7 +1121,7 @@ class CustomConfigParser(configparser.ConfigParser):
self.assertMatchesIni(cf)


class ConfigParserTestCaseLegacyInterpolation(ConfigParserTestCase, unittest.TestCase):
class ConfigParserTestCaseLegacyInterpolation(ConfigParserTestCase):
config_class = configparser.ConfigParser
with warnings.catch_warnings():
warnings.simplefilter("ignore", DeprecationWarning)
Expand Down Expand Up @@ -1154,17 +1154,13 @@ def test_error_on_wrong_type_for_interpolation(self):
configparser.ConfigParser(interpolation=value)


class ConfigParserTestCaseNonStandardDelimiters(
ConfigParserTestCase, unittest.TestCase
):
class ConfigParserTestCaseNonStandardDelimiters(ConfigParserTestCase):
delimiters = (':=', '$')
comment_prefixes = ('//', '"')
inline_comment_prefixes = ('//', '"')


class ConfigParserTestCaseNonStandardDefaultSection(
ConfigParserTestCase, unittest.TestCase
):
class ConfigParserTestCaseNonStandardDefaultSection(ConfigParserTestCase):
default_section = 'general'


Expand Down

0 comments on commit 27d2e83

Please sign in to comment.