[issue1481347] parse_makefile doesn't handle $$ correctly

2015-04-14 Thread Kasia Jachim
Kasia Jachim added the comment: Tested on 2.7.6 (default from Ubuntu) and 3.5.0a3+ (built from sources), in both cases $$ seems to work correctly, returned {'FOO': '${bar} bla bla'} for the input from msg60909. -- nosy: +kjachim __

[issue23078] unittest.mock patch autospec doesn't work on staticmethods

2015-04-14 Thread Kasia Jachim
Changes by Kasia Jachim : -- nosy: +lukasz.langa ___ Python tracker <http://bugs.python.org/issue23078> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue23310] Mock constructor configuration fails for magic methods

2015-04-13 Thread Kasia Jachim
Kasia Jachim added the comment: Added more logging to the patch. -- Added file: http://bugs.python.org/file38922/fix_magic_in_init_v2.diff ___ Python tracker <http://bugs.python.org/issue23

[issue23310] Mock constructor configuration fails for magic methods

2015-04-13 Thread Kasia Jachim
Kasia Jachim added the comment: For Mock both the following tests fail, I would say it is an expected behavior. def test_setting_magic_method_for_mock(self): m = Mock() m.configure_mock(**{'__str__.return_value': "14"}) self.assertEqual(str(m)

[issue23310] Mock constructor configuration fails for magic methods

2015-04-13 Thread Kasia Jachim
Kasia Jachim added the comment: Tests for this bug + proposed fix. -- keywords: +patch nosy: +kjachim Added file: http://bugs.python.org/file38919/fix_magic_in_init.diff ___ Python tracker <http://bugs.python.org/issue23