This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author strogon14
Recipients bkabrda, ned.deily, strogon14
Date 2014-04-26.20:04:18
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1398542659.05.0.842162324129.issue17679@psf.upfronthosting.co.za>
In-reply-to
Content
Another solution may be to make the test more relaxed and regard the value returned by sysconfig.get_config_var() as a _set_ of shell tokens, whose elements may occur more than once, e.g.


    def test_sysconfig_module(self):
        import sysconfig as global_sysconfig
        from shlex import split
        self.assertEqual(
            set(split(global_sysconfig.get_config_var('CFLAGS'))),
            set(split(sysconfig.get_config_var('CFLAGS'))))
        self.assertEqual(
            set(split(global_sysconfig.get_config_var('LDFLAGS'))),
            set(split(sysconfig.get_config_var('LDFLAGS'))))
History
Date User Action Args
2014-04-26 20:04:19strogon14setrecipients: + strogon14, ned.deily, bkabrda
2014-04-26 20:04:19strogon14setmessageid: <1398542659.05.0.842162324129.issue17679@psf.upfronthosting.co.za>
2014-04-26 20:04:18strogon14linkissue17679 messages
2014-04-26 20:04:18strogon14create