Message217210
| 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:19 | strogon14 | set | recipients: + strogon14, ned.deily, bkabrda |
| 2014-04-26 20:04:19 | strogon14 | set | messageid: <1398542659.05.0.842162324129.issue17679@psf.upfronthosting.co.za> |
| 2014-04-26 20:04:18 | strogon14 | link | issue17679 messages |
| 2014-04-26 20:04:18 | strogon14 | create | |