Commits

Vinay Sajip committed 56583be

Improved flexibility of test_sysconfig.

Comments (0)

Files changed (1)

tests/test_sysconfig.py

         ldflags = sysconfig.get_config_var('LDFLAGS')
         ldshared = sysconfig.get_config_var('LDSHARED')
 
-        self.assertIn(ldflags, ldshared)
+        self.assertIn(ldflags.strip(), ldshared.strip())
 
     @unittest.skipUnless(sys.platform == "darwin", "test only relevant on MacOSX")
     def test_platform_in_subprocess(self):