@support.cpython_only
def test_strip_unused_consts(self):

    def f1():
        'docstring'
        return 42
    self.assertEqual(f1.__code__.co_consts, ('docstring', 42))
@support.cpython_only
def test_strip_unused_consts(self):

    def f1():
        'docstring'
        return 42
    self.assertEqual(f1.__code__.co_consts, ('docstring', 42))