Skip to content

Commit

Permalink
Merge pull request #96 from lazka/less-strict-pyconfigh-tests
Browse files Browse the repository at this point in the history
tests: fix tests on Ubuntu 22.04
  • Loading branch information
jaraco authored Dec 29, 2021
2 parents f867e4c + 1736f53 commit 3054764
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions distutils/tests/test_sysconfig.py
Original file line number Diff line number Diff line change
Expand Up @@ -288,11 +288,10 @@ def test_parse_config_h(self):
input = {}
with open(config_h, encoding="utf-8") as f:
result = sysconfig.parse_config_h(f, g=input)
self.assertTrue(input)
self.assertTrue(input is result)
with open(config_h, encoding="utf-8") as f:
result = sysconfig.parse_config_h(f)
self.assertTrue(result)
self.assertTrue(isinstance(result, dict))

def test_suite():
suite = unittest.TestSuite()
Expand Down

0 comments on commit 3054764

Please sign in to comment.